fix: npm顶部分数计算方法,限制为只有在npm下钻时才触发

This commit is contained in:
@changcode
2022-11-11 17:37:07 +08:00
parent 37ce944dc1
commit d44b406222

View File

@@ -184,7 +184,9 @@ export default {
return chart return chart
}) })
}) })
if (this.$route.path === '/panel/networkAppPerformance' && this.queryCondition) {
this.scoreCalculation() this.scoreCalculation()
}
}, },
setup (props, ctx) { setup (props, ctx) {
// todo 目前在panel页面测试后续会挪到router里 // todo 目前在panel页面测试后续会挪到router里