mirror of
https://github.com/dataease/dataease.git
synced 2026-06-17 21:08:31 +08:00
Merge pull request #1254 from dataease/pr@v1.4@fix_chart_switch
fix(视图): 修复图表类型切换逻辑
This commit is contained in:
@@ -934,6 +934,9 @@ export default {
|
||||
if (view.type === 'line-stack' && trigger === 'chart') {
|
||||
view.customAttr.size.lineArea = true
|
||||
}
|
||||
if (view.type === 'line' && trigger === 'chart') {
|
||||
view.customAttr.size.lineArea = false
|
||||
}
|
||||
if (view.type === 'treemap' && trigger === 'chart') {
|
||||
view.customAttr.label.show = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user