Shannon_mu 3 éve
szülő
commit
9a89aa877c
1 módosított fájl, 5 hozzáadás és 1 törlés
  1. 5 1
      operationSupport/src/views/newWorkBench/index.vue

+ 5 - 1
operationSupport/src/views/newWorkBench/index.vue

@@ -19,7 +19,7 @@ export default {
     data() {
         return {
             isEdit: false,
-            isShowModel: 1,
+            isShowModel: null,
             oldValue: {
                 positionInfo: {}
             },
@@ -34,7 +34,11 @@ export default {
                         let val = JSON.parse(data[0].positionInfo);
                         this.oldValue.positionInfo = val.pageLoction;
                         this.isShowModel = val.model;
+                    } else {
+                        this.isShowModel = 1;
                     }
+                } else {
+                    this.isShowModel = 1;
                 }
                 resolve && resolve();
             });