mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 20:42:07 +08:00
style: 优化富文本样式 (#16701)
This commit is contained in:
@@ -213,6 +213,7 @@ const initLocalCanvasData = callBack => {
|
||||
)
|
||||
}
|
||||
onMounted(async () => {
|
||||
document.body.style.overflow = 'hidden'
|
||||
dvMainStore.setCurComponent({ component: null, index: null })
|
||||
dvMainStore.setHiddenListStatus(false)
|
||||
snapshotStore.initSnapShot()
|
||||
@@ -359,6 +360,7 @@ const doRecoverToPublished = () => {
|
||||
}
|
||||
|
||||
onUnmounted(() => {
|
||||
document.body.style.overflow = ''
|
||||
window.removeEventListener('storage', eventCheck)
|
||||
window.removeEventListener('message', winMsgHandle)
|
||||
})
|
||||
|
||||
@@ -383,6 +383,7 @@ const newWindowFromDiv = ref(false)
|
||||
let p = null
|
||||
const XpackLoaded = () => p(true)
|
||||
onMounted(async () => {
|
||||
document.body.style.overflow = 'hidden'
|
||||
dvMainStore.setCurComponent({ component: null, index: null })
|
||||
snapshotStore.initSnapShot()
|
||||
if (window.location.hash.includes('#/dvCanvas')) {
|
||||
@@ -472,6 +473,7 @@ onMounted(async () => {
|
||||
})
|
||||
|
||||
onUnmounted(() => {
|
||||
document.body.style.overflow = ''
|
||||
window.removeEventListener('storage', eventCheck)
|
||||
window.removeEventListener('blur', releaseAttachKey)
|
||||
eventBus.off('handleNew', handleNew)
|
||||
@@ -694,9 +696,6 @@ eventBus.on('tabSort', tabSort)
|
||||
</template>
|
||||
|
||||
<style lang="less">
|
||||
body {
|
||||
overflow: hidden;
|
||||
}
|
||||
.preview-layout-container {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user