diff --git a/core/core-frontend/src/custom-component/user-view/Component.vue b/core/core-frontend/src/custom-component/user-view/Component.vue index 74187ef5fa..e0d576e648 100644 --- a/core/core-frontend/src/custom-component/user-view/Component.vue +++ b/core/core-frontend/src/custom-component/user-view/Component.vue @@ -65,7 +65,7 @@ const autoStyle = computed(() => { width: 100 / scale.value + '%!important', left: 50 * (1 - 1 / scale.value) + '%', // 放大余量 除以 2 top: 50 * (1 - 1 / scale.value) + '%', // 放大余量 除以 2 - transform: 'scale(' + scale.value + ')' + transform: 'scale(' + scale.value + ') translateZ(0)' } as CSSProperties } else { return {} diff --git a/core/core-frontend/src/custom-component/v-query/Component.vue b/core/core-frontend/src/custom-component/v-query/Component.vue index 02776ec0b9..dab464a24f 100644 --- a/core/core-frontend/src/custom-component/v-query/Component.vue +++ b/core/core-frontend/src/custom-component/v-query/Component.vue @@ -536,7 +536,7 @@ const autoStyle = computed(() => { width: 100 / scale.value + '%!important', left: 50 * (1 - 1 / scale.value) + '%', // 放大余量 除以 2 top: 50 * (1 - 1 / scale.value) + '%', // 放大余量 除以 2 - transform: 'scale(' + scale.value + ')', + transform: 'scale(' + scale.value + ') translateZ(0)', opacity: element.value?.style?.opacity || 1 } as CSSProperties }) diff --git a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue index d7380d1ab8..5804d6f1f5 100644 --- a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue +++ b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue @@ -596,7 +596,7 @@ const autoStyle = computed(() => { height: 20 * scale.value + 8 + 'px', width: 100 / scale.value + '%!important', left: 50 * (1 - 1 / scale.value) + '%', // 放大余量 除以 2 - transform: 'scale(' + scale.value + ')' + transform: 'scale(' + scale.value + ') translateZ(0)' } })