refactor: 视图放大隐藏标题

This commit is contained in:
wangjiahao 2023-10-24 17:03:03 +08:00
parent 2a53655bb3
commit 9ceb361fb9

View File

@ -94,7 +94,12 @@ const props = defineProps({
const dynamicAreaId = ref('')
const { view, showPosition, element, active, searchCount } = toRefs(props)
const titleShow = computed(() => element.value.innerType !== 'rich-text' && state.title_show)
const titleShow = computed(
() =>
element.value.innerType !== 'rich-text' &&
state.title_show &&
showPosition.value !== 'viewDialog'
)
const snapshotStore = snapshotStoreWithOut()