|
|
@@ -86,7 +86,7 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.$nextTick(()=>{
|
|
|
- this.getInfo()
|
|
|
+ // this.getInfo()
|
|
|
this.initKonva();
|
|
|
this.getIsIsolationPointPage()
|
|
|
this.addPointsToRightPointsBox()
|
|
|
@@ -181,9 +181,11 @@ export default {
|
|
|
// 重置
|
|
|
reset() {
|
|
|
this.value = this.originData
|
|
|
+ this.rightPoints = []
|
|
|
+ this.leftPoints = []
|
|
|
this.initKonva() // 重新初始化 Konva
|
|
|
},
|
|
|
- // 预览
|
|
|
+ // 刷新
|
|
|
view() {
|
|
|
if (this.isJson(this.value)) {
|
|
|
this.form.map = this.value
|
|
|
@@ -513,7 +515,7 @@ export default {
|
|
|
snappedY >= leftBoxBounds.y &&
|
|
|
snappedY <= leftBoxBounds.y + leftBoxBounds.height
|
|
|
) {
|
|
|
- console.log('进入右侧盒子区域');
|
|
|
+ console.log('进入左侧盒子区域');
|
|
|
// 从 JSON 中移除点
|
|
|
let valueArray = [];
|
|
|
try {
|