同步电网一张图代码

This commit is contained in:
GGJ
2024-05-27 19:07:56 +08:00
parent 0edc0477a9
commit 260bd0580e
12 changed files with 58 additions and 58 deletions

View File

@@ -226,9 +226,11 @@ const addLine = () => {
orgId: orgId.value == '1100F3DE20806FADE050007F01006CBE' ? '' : orgId.value
})
psrmap.addPSR()
psrmap.filterByDomain(1)
initDeviceCard()
initDeviceCard()
setTimeout(() => {
psrmap.filterByDomain(1)
}, 0)
//添加电网要素点击事件
psrmap.on('click', (features: any) => {
console.log(features)