CN-1342 fix:刷新Link Monitor页面,多请求relation/tab/list接口报错

This commit is contained in:
hyx
2023-09-22 14:22:47 +08:00
parent 55227977d3
commit 7d515e1dd5

View File

@@ -392,7 +392,8 @@ export default {
this.dnsRcodeMapData = await getDnsMapData('dnsRcode')
}
}
if (this.$route.path.indexOf('panel') > -1) {
let path = this.$route.path;
if (path.indexOf('panel') > -1 && path.indexOf('linkMonitor') === -1) {
await this.initDropdownList()
}
},