ソースを参照

取消隔离点的舒适化只渲染一次的判断

pm 11 ヶ月 前
コミット
9d6743a7e9

+ 3 - 3
src/components/separationPoint/index.vue

@@ -30,16 +30,16 @@ export default {
       bgrects:[],//白色底部
       redrects: [], //红色rect合集
       redtexts: [], //白色text合集
-      isInit: false,//判断是否初始化变量
+
     }
   },
   watch: {
     'getMapData': {
       handler(newval) {
-        if (newval&& !this.isInit) {
+        if (newval) {
           this.$nextTick(()=>{
             this.initKonva()
-            this.isInit = true
+           
           })
         }
       }

+ 1 - 2
src/views/mes/sop/sopm/NewSop.vue

@@ -587,11 +587,10 @@ export default {
       'setSopTitle'
     ]),
     handleClick(tab, event) {
-      // console.log(tab, event);
+
     },
     preStep(val) {
       this.activeName = val
-
       console.log(this.form, 'sopform')
     },