forked from github/dataease
Merge pull request #9125 from dataease/pr@dev-v2@fix_group
Pr@dev v2@fix group
This commit is contained in:
commit
cc1d46dc78
@ -1362,7 +1362,10 @@ const groupAreaChange = (showArea, style?) => {
|
|||||||
groupArea.style.height = style.height
|
groupArea.style.height = style.height
|
||||||
dvMainStore.addComponent({ component: groupArea, index: undefined })
|
dvMainStore.addComponent({ component: groupArea, index: undefined })
|
||||||
} else {
|
} else {
|
||||||
dvMainStore.deleteComponentById(100000001)
|
const groupAreaHis = componentData.value.filter(ele => ele.id === 100000001)
|
||||||
|
if (groupAreaHis && groupAreaHis.length > 0) {
|
||||||
|
dvMainStore.deleteComponentById(100000001)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -104,7 +104,7 @@ export const composeStore = defineStore('compose', {
|
|||||||
areaData.components = []
|
areaData.components = []
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (areaData.components.length > 0 && areaData.style.width === 0) {
|
if (areaData.components.length > 0) {
|
||||||
// 计算组合区域
|
// 计算组合区域
|
||||||
this.calcComposeArea()
|
this.calcComposeArea()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user