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 6034d08caf..2ad47f36e0 100644 --- a/core/core-frontend/src/custom-component/user-view/Component.vue +++ b/core/core-frontend/src/custom-component/user-view/Component.vue @@ -64,19 +64,6 @@ const props = defineProps({ const { element, view, active, searchCount, scale } = toRefs(props) const autoStyle = computed(() => { return { zoom: scale.value } - // if (element.value.innerType === 'rich-text') { - // - // return { - // position: 'absolute', - // height: 100 / scale.value + '%!important', - // width: 100 / scale.value + '%!important', - // left: 50 * (1 - 1 / scale.value) + '%', // 放大余量 除以 2 - // top: 50 * (1 - 1 / scale.value) + '%', // 放大余量 除以 2 - // transform: 'scale(' + scale.value + ') translateZ(0)' - // } as CSSProperties - // } else { - // return {} - // } }) const emits = defineEmits(['onPointClick']) diff --git a/core/core-frontend/src/pages/panel/ViewWrapper.vue b/core/core-frontend/src/pages/panel/ViewWrapper.vue index 55ef838011..313df29e69 100644 --- a/core/core-frontend/src/pages/panel/ViewWrapper.vue +++ b/core/core-frontend/src/pages/panel/ViewWrapper.vue @@ -1,6 +1,6 @@