refactor: 文本卡仅支持一个维度

This commit is contained in:
junjun 2022-04-02 09:59:02 +08:00
parent 5a306f43d0
commit eeae14b61b

View File

@ -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') ||