fix:chart 编辑页面 改为 只有 type = group 显示 show/hidden 配置项

This commit is contained in:
zhangyu
2022-07-20 14:21:40 +08:00
parent b0e0ac6921
commit 49df64db13
3 changed files with 35 additions and 2 deletions

View File

@@ -600,6 +600,12 @@ export default {
handler (n) {
if (n === 'group') {
this.editChart.groupId = ''
} else {
this.editChart.param.enable.visibility = false
this.editChart.param.visibility.varName = ''
this.editChart.param.visibility.operator = ''
this.editChart.param.visibility.varValue = ''
this.editChart.param.visibility.result = ''
}
}
},