fix: 打包报错

This commit is contained in:
dataeaseShu 2024-07-17 12:01:11 +08:00
parent 424a418fe2
commit b208aa235a

View File

@ -75,7 +75,7 @@ onBeforeMount(async () => {
canvasViewInfoPreview, canvasViewInfoPreview,
curPreviewGap curPreviewGap
}) { }) {
if (!isPc && !dvInfo.mobileLayout) { if (!isPc.value && !dvInfo.mobileLayout) {
dvMainStore.setMobileInPc(true) dvMainStore.setMobileInPc(true)
dvMainStore.setInMobile(true) dvMainStore.setInMobile(true)
useEmitt().emitter.emit('changeCurrentComponent', 'DashboardEmpty') useEmitt().emitter.emit('changeCurrentComponent', 'DashboardEmpty')