|
@@ -219,7 +219,7 @@ router.beforeEach(async (to, from, next) => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 未登录白名单
|
|
// 未登录白名单
|
|
|
- const whiteList = ['/login', '/public-tracking', '/public-tracking/detail', '/reset-password']
|
|
|
|
|
|
|
+ const whiteList = ['/login', '/public-tracking', '/public-tracking/detail', '/reset-password', '/demo-video']
|
|
|
// 判断是否登录
|
|
// 判断是否登录
|
|
|
if (!whiteList.includes(to.path) && !userStore.isLogin) {
|
|
if (!whiteList.includes(to.path) && !userStore.isLogin) {
|
|
|
const userStore = useUserStore()
|
|
const userStore = useUserStore()
|