浏览代码

更新状态

lex 2 年之前
父节点
当前提交
714801cd14
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      src/components/VueFormMaking/components/GenerateFormItem.vue

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

@@ -648,11 +648,7 @@ export default {
   },
   },
   mounted() {
   mounted() {
     // console.log(this.widget, "12121", this.dataModel);
     // 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");
       console.log(true, "false");
       this.onChangeSelect();
       this.onChangeSelect();
     }
     }