forked from github/dataease
Merge pull request #11021 from dataease/pr@dev-v2_st
fix(嵌入式): 修复嵌入式iframe移动端路由问题
This commit is contained in:
commit
5670f4452a
@ -34,7 +34,7 @@ router.beforeEach(async (to, from, next) => {
|
|||||||
await appStore.setAppModel()
|
await appStore.setAppModel()
|
||||||
isDesktop = appStore.getDesktop
|
isDesktop = appStore.getDesktop
|
||||||
}
|
}
|
||||||
if (isMobile() && to.path !== '/notSupport') {
|
if (isMobile() && !['/notSupport', '/chart-view'].includes(to.path)) {
|
||||||
done()
|
done()
|
||||||
loadDone()
|
loadDone()
|
||||||
if (to.name === 'link') {
|
if (to.name === 'link') {
|
||||||
|
Loading…
Reference in New Issue
Block a user