haojianlong 4 éve
szülő
commit
9d21ff3f79
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      src/components/ledger/lib/cenoteGraphy.vue

+ 3 - 1
src/components/ledger/lib/cenoteGraphy.vue

@@ -230,7 +230,9 @@ export default {
     //取消编辑
     cancelEdit() {
       this.config.isEdit = false;
-      this.scene.clearZoneSelection();
+      if (this.scene) {
+        this.scene.clearZoneSelection();
+      }
       this.getBusinessSpace();
     },
     //编辑