Prechádzať zdrojové kódy

右键锁定逻辑修改

yunxing 4 rokov pred
rodič
commit
9ae10dc963

+ 1 - 1
src/components/editview/basePlanEditer.vue

@@ -681,7 +681,7 @@ export default {
     },
     watch: {
         editCmd(val) {
-            console.trace(val);
+            // console.trace(val);
             if (this.scene) {
                 // 设置当前编辑状态
                 this.scene.editCmd = val;

+ 1 - 1
src/components/editview/planTooltip.vue

@@ -51,7 +51,7 @@ export default {
         },
         setLock() {
             // 如果选中的是空间实例,不做操作
-            if (this.itemType !== 'BaseZone') return;
+            if (this.itemType === 'BaseZone') return;
             
             this.lock = !this.lock;
             bus.$emit("tooltipLock");