Merge pull request #5862 from ulleo/dev

feat: 关闭组合图高级配置
This commit is contained in:
ulleo 2023-08-08 17:32:00 +08:00 committed by GitHub
commit 4f9a75bd1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1336,10 +1336,10 @@
> >
<el-input <el-input
v-model="itemForm.name" v-model="itemForm.name"
@keypress.stop
style="width: 200px" style="width: 200px"
size="mini" size="mini"
clearable clearable
@keypress.stop
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -1955,11 +1955,11 @@ export default {
return this.$store.state.panel.panelInfo return this.$store.state.panel.panelInfo
}, },
showCfg() { showCfg() {
return includesAny(this.view.type, 'bar', 'line', 'area', 'mix', 'gauge', 'table') || return includesAny(this.view.type, 'bar', 'line', 'area', 'gauge', 'table') ||
equalsAny(this.view.type, 'text', 'label', 'map', 'buddle-map') equalsAny(this.view.type, 'text', 'label', 'map', 'buddle-map')
}, },
showSeniorCfg() { showSeniorCfg() {
return includesAny(this.view.type, 'bar', 'line', 'area', 'mix', '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')
}, },
showFunctionCfg() { showFunctionCfg() {
@ -1973,7 +1973,7 @@ export default {
if (this.view.type === 'bidirectional-bar') { if (this.view.type === 'bidirectional-bar') {
return false return false
} }
return includesAny(this.view.type, 'bar', 'line', 'area', 'mix', 'gauge') || return includesAny(this.view.type, 'bar', 'line', 'area', 'gauge') ||
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'))
}, },