Merge pull request #10998 from dataease/pr@dev-v2_st

fix: 打包报错
This commit is contained in:
dataeaseShu 2024-07-17 12:01:40 +08:00 committed by GitHub
commit 5111771a5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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