forked from github/dataease
fix: 【系统设置】-查看世界村地图数据,加载时间过长,可能导致浏览器崩溃
This commit is contained in:
parent
fe172b1588
commit
32df66438e
@ -128,7 +128,7 @@ const selectedData = ref(null)
|
||||
const handleNodeClick = async (data: Tree) => {
|
||||
selectedData.value = data
|
||||
const geoJson = cloneDeep(await getGeoJsonFile(data['id']))
|
||||
selectedData.value['geoJson'] = geoJson
|
||||
selectedData.value['geoJson'] = JSON.stringify(geoJson)
|
||||
const pid = data['pid']
|
||||
if (pid) {
|
||||
const parent = areaTreeRef.value.getNode(pid)
|
||||
|
Loading…
Reference in New Issue
Block a user