fix(嵌入式): 修复嵌入式iframe移动端路由问题

This commit is contained in:
dataeaseShu 2024-07-18 16:03:45 +08:00
parent f39537b532
commit 71be0bab82

View File

@ -34,7 +34,7 @@ router.beforeEach(async (to, from, next) => {
await appStore.setAppModel()
isDesktop = appStore.getDesktop
}
if (isMobile() && to.path !== '/notSupport') {
if (isMobile() && !['/notSupport', '/chart-view'].includes(to.path)) {
done()
loadDone()
if (to.name === 'link') {