fix: Dahsboard - npm - 网络质量概览图表 下钻3级菜单,分数统计传参判断
This commit is contained in:
@@ -49,7 +49,7 @@ export default {
|
||||
} else {
|
||||
this.side = 'server'
|
||||
}
|
||||
if (condition && type) {
|
||||
if (condition.length > 1 && type) {
|
||||
params.q = `${type}='${condition[1]}' and side='${this.side}'`
|
||||
params.type = type
|
||||
}
|
||||
@@ -82,7 +82,7 @@ export default {
|
||||
} else {
|
||||
this.side = 'server'
|
||||
}
|
||||
if (condition && type) {
|
||||
if (condition.length > 1 && type) {
|
||||
params.q = `${type}='${condition[1]}' and side='${this.side}'`
|
||||
params.type = type
|
||||
}
|
||||
@@ -123,7 +123,9 @@ export default {
|
||||
if (scoreInfo.score > 6) {
|
||||
scoreInfo.score = 6
|
||||
}
|
||||
this.$store.commit('setNpmThirdLevelMenuScore', scoreInfo.score)
|
||||
if (!params.q && this.chart.id === 44) {
|
||||
this.$store.commit('setNpmThirdLevelMenuScore', scoreInfo.score)
|
||||
}
|
||||
}).finally(() => {
|
||||
this.toggleLoading(false)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user