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 => {
|
components.forEach(component => {
|
||||||
component.canvasId = 'Group-' + newId
|
component.canvasId = 'Group-' + newId
|
||||||
})
|
})
|
||||||
const groupComponent = {
|
const groupComponent = deepCopy({
|
||||||
id: newId,
|
id: newId,
|
||||||
component: 'Group',
|
component: 'Group',
|
||||||
canvasActive: false,
|
canvasActive: false,
|
||||||
@ -173,7 +173,7 @@ export const composeStore = defineStore('compose', {
|
|||||||
icon: 'group',
|
icon: 'group',
|
||||||
expand: true,
|
expand: true,
|
||||||
commonBackground: {
|
commonBackground: {
|
||||||
...deepCopy(COMMON_COMPONENT_BACKGROUND_MAP[curOriginThemes.value]),
|
...COMMON_COMPONENT_BACKGROUND_MAP[curOriginThemes.value],
|
||||||
backgroundColorSelect: false,
|
backgroundColorSelect: false,
|
||||||
innerPadding: 0
|
innerPadding: 0
|
||||||
},
|
},
|
||||||
@ -183,7 +183,7 @@ export const composeStore = defineStore('compose', {
|
|||||||
...areaData.style
|
...areaData.style
|
||||||
},
|
},
|
||||||
propValue: components
|
propValue: components
|
||||||
}
|
})
|
||||||
|
|
||||||
createGroupStyle(groupComponent)
|
createGroupStyle(groupComponent)
|
||||||
dvMainStore.addComponent({
|
dvMainStore.addComponent({
|
||||||
|
Loading…
Reference in New Issue
Block a user