feat: 变更地图插件

This commit is contained in:
zhangyu
2022-08-11 16:48:14 +08:00
parent 50bba887c0
commit c90e56b17d
43692 changed files with 534 additions and 40 deletions

View File

@@ -2356,6 +2356,15 @@ export default {
this.timer4 = null
}
if (getTopology(this.topologyIndex)) {
getTopology(this.topologyIndex).off('translate', this.topTranslate) // 平移·
getTopology(this.topologyIndex).off('active', this.pensActive) // 选中·
getTopology(this.topologyIndex).off('scale', this.topoScale) // 缩放·
getTopology(this.topologyIndex).off('translatePens', () => {}) // 移动画笔结束·
getTopology(this.topologyIndex).off('translatingPens', () => {}) // 移动画笔进行中·
getTopology(this.topologyIndex).off('enter', this.penEnter) // 移入画笔·
getTopology(this.topologyIndex).off('leave', this.penLeave) // 移出画笔·
getTopology(this.topologyIndex).off('add', this.appPen) // 添加新画笔·
getTopology(this.topologyIndex).off('click', this.topoClick) // click画笔·
getTopology(this.topologyIndex).destroy()
const StoreData = le5leStore.get()
const arr = []