diff --git a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue
index dcf3108462..ef870cb74e 100644
--- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue
+++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue
@@ -371,9 +371,7 @@ const areaDataPush = component => {
}
}
const handleDbClick = e => {
- console.log('111=0' + element.value.canvasId)
if (element.value.canvasId !== 'canvas-main') {
- console.log('111=1' + canvasActive.value)
dvMainStore.setCurComponent({ component: element.value, index: index.value })
}
}
diff --git a/core/core-frontend/src/custom-component/common/CanvasGroup.vue b/core/core-frontend/src/custom-component/common/CanvasGroup.vue
index 15eefa3399..09e75892b8 100644
--- a/core/core-frontend/src/custom-component/common/CanvasGroup.vue
+++ b/core/core-frontend/src/custom-component/common/CanvasGroup.vue
@@ -1,7 +1,7 @@
+
+
+
+
+
+
diff --git a/core/core-frontend/src/utils/DeShortcutKey.ts b/core/core-frontend/src/utils/DeShortcutKey.ts
index 665f3bbb26..0a6f846971 100644
--- a/core/core-frontend/src/utils/DeShortcutKey.ts
+++ b/core/core-frontend/src/utils/DeShortcutKey.ts
@@ -125,7 +125,6 @@ export function listenGlobalKeyDown() {
lockMap[keyCode]()
}
}
- console.log('1111=isCtrlOrCommandDown' + isCtrlOrCommandDown + ';isShiftDown=' + isShiftDown)
}
window.onkeyup = e => {
diff --git a/core/core-frontend/src/utils/canvasUtils.ts b/core/core-frontend/src/utils/canvasUtils.ts
index fda4c11916..0f31d450ed 100644
--- a/core/core-frontend/src/utils/canvasUtils.ts
+++ b/core/core-frontend/src/utils/canvasUtils.ts
@@ -141,8 +141,14 @@ export function canvasSave(callBack) {
if (item.component === 'UserView') {
item.linkageFilters = []
} else if (item.component === 'Group') {
+ const groupStyle = item.style
item.propValue.forEach(groupItem => {
groupItem.linkageFilters = []
+ // 计算groupStyle
+ groupItem.groupStyle.left = groupItem.style.left / groupStyle.width
+ groupItem.groupStyle.top = groupItem.style.top / groupStyle.height
+ groupItem.groupStyle.width = groupItem.style.width / groupStyle.width
+ groupItem.groupStyle.height = groupItem.style.height / groupStyle.height
})
} else if (item.component === 'DeTabs') {
item.propValue.forEach(tabItem => {