fix: 修复全屏/预览-点击联动字段-清除所有联动操作未展示在右上角问题

This commit is contained in:
wangjiahao
2025-04-21 11:14:59 +08:00
committed by 王嘉豪
parent 92e86ef92c
commit 67821f0d31

View File

@@ -3,7 +3,8 @@
v-if="existLinkage && (!dvMainStore.mobileInPc || isMobile())"
class="bar-main-right"
:class="{
'bar-main-preview-fixed': dvPreviewMode
'bar-main-preview-fixed': dvPreviewMode,
'bar-main-preview-fixed-fullscreen': fullscreenFlag
}"
@mousedown="handOptBarMousedown"
>
@@ -22,7 +23,9 @@ import { computed } from 'vue'
import { isMainCanvas } from '@/utils/canvasUtils'
import { useEmitt } from '@/hooks/web/useEmitt'
import { isMobile } from '@/utils/utils'
import { storeToRefs } from 'pinia'
const dvMainStore = dvMainStoreWithOut()
const { fullscreenFlag } = storeToRefs(dvMainStore)
const props = defineProps({
canvasStyleData: {
@@ -117,4 +120,8 @@ const existLinkage = computed(() => {
top: 120px;
right: 5px;
}
.bar-main-preview-fixed-fullscreen {
top: 5px !important;
}
</style>