Browse Source

修复bug

xushiting 2 years ago
parent
commit
d5beb22edd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/graphic/Layer.js

+ 2 - 0
src/graphic/Layer.js

@@ -159,6 +159,8 @@ export default class Layer {
             VectorType.Point,
             SelectState.Select
           );
+          this.history.save();
+          this.renderer.autoRedraw();
         } else {
           this.uiControl.prompt({ msg: "请先添加基准点", time: 1000 });
         }