forked from github/dataease
fix(移动端): 移动端设置视图设置了新开页面跳转,点击进行跳转时,新页面打不开,设置为当前页面跳转是正常的
This commit is contained in:
parent
05573d2688
commit
eb82ea6252
@ -17,7 +17,7 @@ const { start, done } = useNProgress()
|
|||||||
const interactiveStore = interactiveStoreWithOut()
|
const interactiveStore = interactiveStoreWithOut()
|
||||||
|
|
||||||
const { loadStart, loadDone } = usePageLoading()
|
const { loadStart, loadDone } = usePageLoading()
|
||||||
const whiteList = ['/login', '/panel', '/dvCanvas', '/DashboardEmpty'] // 不重定向白名单
|
const whiteList = ['/login', '/panel', '/dvCanvas', '/DashboardEmpty', '/preview'] // 不重定向白名单
|
||||||
|
|
||||||
router.beforeEach(async (to, _, next) => {
|
router.beforeEach(async (to, _, next) => {
|
||||||
start()
|
start()
|
||||||
|
Loading…
Reference in New Issue
Block a user