mirror of
https://github.com/dataease/dataease.git
synced 2026-05-21 04:08:10 +08:00
Merge pull request #10356 from dataease/pr@dev-v2@refactor_dv-edit
Pr@dev v2@refactor dv edit
This commit is contained in:
@@ -4,6 +4,7 @@ import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain'
|
||||
const dvMainStore = dvMainStoreWithOut()
|
||||
import screenfull from 'screenfull'
|
||||
import { onBeforeUnmount, onMounted, toRefs } from 'vue'
|
||||
import { useEmitt } from '@/hooks/web/useEmitt'
|
||||
|
||||
const props = defineProps({
|
||||
themes: {
|
||||
@@ -33,6 +34,10 @@ const fullscreenChange = () => {
|
||||
dvMainStore.setEditMode('edit')
|
||||
}
|
||||
}
|
||||
// 大屏编辑使用
|
||||
if (props.showPosition === 'dvEdit') {
|
||||
useEmitt().emitter.emit('canvasScrollRestore')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user