NEZ-2895 fix: Tooltip.title & Tooltip.Legends.Alias 支持 变量取值
This commit is contained in:
@@ -1396,7 +1396,7 @@ export default {
|
||||
if (!this.chartConfig.elements.length) {
|
||||
this.addExpression()
|
||||
} else {
|
||||
const expressionsShow = this.$loadsh.cloneDeep(this.expressionsShow)
|
||||
const expressionsShow = this.$lodash.cloneDeep(this.expressionsShow)
|
||||
this.chartConfig.elements.forEach((item, index) => {
|
||||
this.expressions.push(item.expression)
|
||||
this.expressionName.push(item.name)
|
||||
@@ -1409,7 +1409,7 @@ export default {
|
||||
// expressionsShow调整顺序
|
||||
expressionsShow.forEach((subItem) => {
|
||||
if (item.name == subItem.oldName) {
|
||||
this.$set(this.expressionsShow, index, this.$loadsh.cloneDeep(subItem))
|
||||
this.$set(this.expressionsShow, index, this.$lodash.cloneDeep(subItem))
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user