fix(嵌入式): DataEase嵌入第三方系统后,移动端访问第三方系统时,希望展示移动端布局
This commit is contained in:
parent
db749807a9
commit
424a418fe2
@ -75,7 +75,9 @@ onBeforeMount(async () => {
|
||||
canvasViewInfoPreview,
|
||||
curPreviewGap
|
||||
}) {
|
||||
if (!dvInfo.mobileLayout) {
|
||||
if (!isPc && !dvInfo.mobileLayout) {
|
||||
dvMainStore.setMobileInPc(true)
|
||||
dvMainStore.setInMobile(true)
|
||||
useEmitt().emitter.emit('changeCurrentComponent', 'DashboardEmpty')
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user