forked from github/dataease
Merge pull request #12186 from dataease/pr@dev-v2@fix_3d
fix(数据大屏): 修复组合图开启3d后解除组合,后续创建组件持续开启3d问题
This commit is contained in:
commit
47bcedd5fb
@ -164,7 +164,7 @@ export const composeStore = defineStore('compose', {
|
||||
components.forEach(component => {
|
||||
component.canvasId = 'Group-' + newId
|
||||
})
|
||||
const groupComponent = {
|
||||
const groupComponent = deepCopy({
|
||||
id: newId,
|
||||
component: 'Group',
|
||||
canvasActive: false,
|
||||
@ -173,7 +173,7 @@ export const composeStore = defineStore('compose', {
|
||||
icon: 'group',
|
||||
expand: true,
|
||||
commonBackground: {
|
||||
...deepCopy(COMMON_COMPONENT_BACKGROUND_MAP[curOriginThemes.value]),
|
||||
...COMMON_COMPONENT_BACKGROUND_MAP[curOriginThemes.value],
|
||||
backgroundColorSelect: false,
|
||||
innerPadding: 0
|
||||
},
|
||||
@ -183,7 +183,7 @@ export const composeStore = defineStore('compose', {
|
||||
...areaData.style
|
||||
},
|
||||
propValue: components
|
||||
}
|
||||
})
|
||||
|
||||
createGroupStyle(groupComponent)
|
||||
dvMainStore.addComponent({
|
||||
|
Loading…
Reference in New Issue
Block a user