forked from github/dataease
Merge pull request #10995 from dataease/pr@dev-v2_st
fix(嵌入式): DataEase嵌入第三方系统后,移动端访问第三方系统时,希望展示移动端布局
This commit is contained in:
commit
d8298e85ce
@ -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