fix(视图): 隐藏 Echarts 视图无用配置项

This commit is contained in:
wisonic-s 2024-01-02 15:56:20 +08:00
parent 47bb8c2d10
commit 078fce322a

View File

@ -2114,7 +2114,8 @@ export default {
equalsAny(this.view.type, 'table-normal', 'table-info', 'map', 'text') || this.view.render === 'echarts' && includesAny(this.view.type, 'mix')
},
showFunctionCfg() {
return includesAny(this.view.type, 'bar', 'line', 'area', 'mix', 'table') ||
return includesAny(this.view.type, 'bar', 'line', 'area', 'mix') ||
(this.view.render === 'antv' && this.view.type.includes('table')) ||
equalsAny(this.view.type, 'map', 'text')
},
showScrollCfg() {