refactor: 优化不缩放大屏联动图标显示方式 (#17102)

This commit is contained in:
王嘉豪
2025-09-28 12:52:40 +08:00
committed by GitHub
parent 5ae84d1e4a
commit 7af0cc9f10

View File

@@ -522,6 +522,10 @@ const scrollPreview = () => {
const showUnpublishFlag = computed(() => dvInfo.value?.status === 0 && isMainCanvas(canvasId.value))
const isFixedFlag = computed(
() => isOverSize.value && canvasStyleData.value?.screenAdaptor !== 'keep'
)
defineExpose({
restore
})
@@ -562,7 +566,7 @@ defineExpose({
:canvas-id="canvasId"
:canvas-style-data="canvasStyleData"
:component-data="baseComponentData"
:is-fixed="isOverSize"
:is-fixed="isFixedFlag"
></canvas-opt-bar>
<template v-if="renderReady && !showUnpublishFlag">
<component-wrapper