修改大屏嵌入路由
This commit is contained in:
@@ -20,6 +20,8 @@ router.beforeEach((to, from, next) => {
|
||||
if (to.path == '/login' || to.path == '/404') {
|
||||
// 登录或者注册才可以往下进行
|
||||
next()
|
||||
} else if (to.path == '/admin/center/homePage') {
|
||||
window.open(window.location.origin + '/homePage')
|
||||
} else {
|
||||
// 获取 token
|
||||
const adminInfo = useAdminInfo()
|
||||
|
||||
Reference in New Issue
Block a user