fix(数据大屏): 修复组合大小变化后再点击组合按钮,时间生成的组合组件还是原来大小问题

This commit is contained in:
wangjiahao 2024-04-16 13:08:28 +08:00
parent 9223a88112
commit 70565335c2

View File

@ -104,7 +104,7 @@ export const composeStore = defineStore('compose', {
areaData.components = []
return
}
if (areaData.components.length > 0 && areaData.style.width === 0) {
if (areaData.components.length > 0) {
// 计算组合区域
this.calcComposeArea()
}