瀏覽代碼

修复bug

jinx 2 年之前
父節點
當前提交
d9ddeb75e2
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 1 1
      server/test/a0k4xu045_202305311600080410/attach/sceneStore
  2. 2 0
      src/graphic/Controls/UIControl.js

File diff suppressed because it is too large
+ 1 - 1
server/test/a0k4xu045_202305311600080410/attach/sceneStore


+ 2 - 0
src/graphic/Controls/UIControl.js

@@ -529,6 +529,7 @@ export default class UIControl {
   }
   confirmEntry() {
     console.log('确认');
+    Settings.selectLocationMode = null;
     this.graphicStateUI.continuedMode = false;
     this.layer.exit();
     uiService.setSelectLineCategory(VectorCategory.Line.NormalLine);
@@ -539,6 +540,7 @@ export default class UIControl {
   }
   confirmCancel() {
     console.log('取消');
+    Settings.selectLocationMode = null;
     this.graphicStateUI.continuedMode = false;
     addPoint.deleteTestPoints();
     addLine.deleteTestLines();