lex 2 anni fa
parent
commit
714801cd14

+ 1 - 5
src/components/VueFormMaking/components/GenerateFormItem.vue

@@ -648,11 +648,7 @@ export default {
   },
   mounted() {
     // console.log(this.widget, "12121", this.dataModel);
-    if (
-      this.preview &&
-      this.widget.type == "select" &&
-      this.widget.options.relationStatus
-    ) {
+    if (this.widget.type == "select" && this.widget.options.relationStatus) {
       console.log(true, "false");
       this.onChangeSelect();
     }