forked from github/dataease
refactor: 文本卡仅支持一个维度
This commit is contained in:
parent
5a306f43d0
commit
eeae14b61b
@ -1628,6 +1628,11 @@ export default {
|
||||
}
|
||||
}
|
||||
})
|
||||
if (view.type === 'label') {
|
||||
if (view.xaxis.length > 1) {
|
||||
view.xaxis.splice(1, view.xaxis.length)
|
||||
}
|
||||
}
|
||||
if (view.type.startsWith('pie') ||
|
||||
view.type.startsWith('funnel') ||
|
||||
view.type.startsWith('text') ||
|
||||
|
Loading…
Reference in New Issue
Block a user