fix: 修复npm 折线图和下钻折线图,因名称判断错误导致的移入弹窗样式问题
This commit is contained in:
@@ -539,7 +539,11 @@ export default {
|
||||
}
|
||||
})
|
||||
this.npmQuantity.forEach(d => {
|
||||
if (this.$t(d.name) === t.seriesName) {
|
||||
const nameMs = this.$t(d.name) + '(ms)'
|
||||
const namePrent = this.$t(d.name) + '(%)'
|
||||
if (nameMs === t.seriesName) {
|
||||
t.borderColor = chartColor3[d.positioning]
|
||||
} else if (namePrent === t.seriesName) {
|
||||
t.borderColor = chartColor3[d.positioning]
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user