修改大屏嵌入路由

This commit is contained in:
GGJ
2024-02-27 16:21:27 +08:00
parent f51acd7623
commit 122c3e2198
6 changed files with 59 additions and 27 deletions

View File

@@ -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()