Merge pull request #6338 from dataease/pr@dev-v2@refactor_view

refactor: 视图放大隐藏标题
This commit is contained in:
王嘉豪 2023-10-24 17:08:05 +08:00 committed by GitHub
commit 7b6c2e6e7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()