feat:添加 chart-group

This commit is contained in:
zhangyu
2021-12-13 20:30:33 +08:00
parent 86057f8cda
commit 03f11c8283
11 changed files with 157 additions and 6 deletions

View File

@@ -163,6 +163,9 @@ export default {
Promise.all(arr).then(res => {
this.editChart.panelId = this.panelId
const params = JSON.parse(JSON.stringify(this.editChart))
if (params.type === 'group') {
params.height = 1
}
if (!params.groupId) {
params.groupId = 0
}