commit
3b7ab13003
@ -2061,11 +2061,11 @@ export default {
|
|||||||
},
|
},
|
||||||
showCfg() {
|
showCfg() {
|
||||||
return includesAny(this.view.type, 'bar', 'line', 'area', 'gauge', 'table', 'liquid') && this.view.type !== 'race-bar' ||
|
return includesAny(this.view.type, 'bar', 'line', 'area', 'gauge', 'table', 'liquid') && this.view.type !== 'race-bar' ||
|
||||||
equalsAny(this.view.type, 'text', 'label', 'map', 'buddle-map')
|
equalsAny(this.view.type, 'text', 'label', 'map', 'buddle-map') || this.view.render === 'echarts' && includesAny(this.view.type, 'mix')
|
||||||
},
|
},
|
||||||
showSeniorCfg() {
|
showSeniorCfg() {
|
||||||
return includesAny(this.view.type, 'bar', 'line', 'area', 'table') ||
|
return includesAny(this.view.type, 'bar', 'line', 'area', 'table') ||
|
||||||
equalsAny(this.view.type, 'table-normal', 'table-info', 'map')
|
equalsAny(this.view.type, 'table-normal', 'table-info', 'map') || this.view.render === 'echarts' && includesAny(this.view.type, 'mix')
|
||||||
},
|
},
|
||||||
showFunctionCfg() {
|
showFunctionCfg() {
|
||||||
return includesAny(this.view.type, 'bar', 'line', 'area', 'mix', 'table') ||
|
return includesAny(this.view.type, 'bar', 'line', 'area', 'mix', 'table') ||
|
||||||
@ -2080,7 +2080,7 @@ export default {
|
|||||||
}
|
}
|
||||||
return includesAny(this.view.type, 'bar', 'line', 'area', 'gauge', 'liquid') ||
|
return includesAny(this.view.type, 'bar', 'line', 'area', 'gauge', 'liquid') ||
|
||||||
equalsAny(this.view.type, 'text', 'label') ||
|
equalsAny(this.view.type, 'text', 'label') ||
|
||||||
(this.view.render === 'antv' && this.view.type.includes('table'))
|
(this.view.render === 'antv' && this.view.type.includes('table')) || this.view.render === 'echarts' && includesAny(this.view.type, 'mix')
|
||||||
},
|
},
|
||||||
showAssistLineCfg() {
|
showAssistLineCfg() {
|
||||||
return includesAny(this.view.type, 'bar', 'line', 'area', 'mix')
|
return includesAny(this.view.type, 'bar', 'line', 'area', 'mix')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user