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

fix(移动端): 移动端设置视图设置了新开页面跳转,点击进行跳转时,新页面打不开,设置为当前页面跳转是正常的
This commit is contained in:
dataeaseShu 2024-07-16 14:21:42 +08:00 committed by GitHub
commit 1e1091e650
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ const { start, done } = useNProgress()
const interactiveStore = interactiveStoreWithOut()
const { loadStart, loadDone } = usePageLoading()
const whiteList = ['/login', '/panel', '/dvCanvas', '/DashboardEmpty'] // 不重定向白名单
const whiteList = ['/login', '/panel', '/dvCanvas', '/DashboardEmpty', '/preview'] // 不重定向白名单
router.beforeEach(async (to, _, next) => {
start()