提交 46bac176 authored 作者: junjie's avatar junjie

feat(视图): 同环比前端UI

上级 dbd782e6
......@@ -172,10 +172,7 @@ export default {
}
},
watch: {
'chart.xaxis': function() {
this.isEnableCompare()
},
'chart.extStack': function() {
'chart': function() {
this.isEnableCompare()
}
},
......@@ -198,7 +195,7 @@ export default {
const t2 = extStack.filter(ele => {
return ele.deType === 1
})
if (t1.length > 0 || t2.length > 0) {
if ((t1.length > 0 || t2.length > 0) && this.chart.type !== 'text' && this.chart.type !== 'gauge' && this.chart.type !== 'liquid') {
this.disableEditCompare = false
} else {
this.disableEditCompare = true
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论