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

fix(嵌入式): 修复嵌入式iframe移动端路由问题
This commit is contained in:
dataeaseShu 2024-07-18 16:04:42 +08:00 committed by GitHub
commit 5670f4452a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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') {