修改淹没分析

This commit is contained in:
2025-12-12 13:51:45 +08:00
parent 238594fdcf
commit a740d4b058
2 changed files with 50 additions and 47 deletions

View File

@ -11,6 +11,7 @@ export const addMapSource = async ({ type, id, sourceName = '未命名对象', o
if (window.earth.entityMap.get(id)) {
window.earth.entityMap.get(id).remove()
}
setTimeout(async () => {
let options: any = await initMapData(type, opt, cd)
let selectedNodes = window.treeObj.getSelectedNodes()
let node = selectedNodes && selectedNodes[selectedNodes.length - 1]
@ -61,4 +62,5 @@ export const addMapSource = async ({ type, id, sourceName = '未命名对象', o
params.isShow = true
cusAddNodes(window.treeObj, params.parentId, [params])
}, 10);
}

View File

@ -231,6 +231,7 @@ var readOnly = ref(true)
const changeWater = () => {
submerge.restart()
isPausng.value = false
}
eventBus.on('submergeDialog', () => {