cuiqian2004
10 天以前 90e4076a8adf5dac4384f10d9ce22398580eaf34
components/oi-form/index.vue
@@ -53,6 +53,7 @@
      },
      methods: {
         setFormItemVisible(attrs) {
            console.log(attrs)
            attrs.forEach((attr) => {
               let index = this.hiddenIds.findIndex((id) => id == attr.attr);
               if (attr.show) {
@@ -61,6 +62,7 @@
                  if (index == -1) this.hiddenIds.push(attr.attr);
               }
            });
            console.log(this.hiddenIds)
         },
         clearFormValues() {
            if (!this.form.model) return;