134. 加油站

This commit is contained in:
2026-03-18 15:16:04 +08:00
parent e3f139aeaf
commit 980a8767f9
3 changed files with 5924 additions and 5893 deletions

View File

@@ -24,6 +24,7 @@ const whiteList = [
'/bind',
'/register',
'/swagger'
// '/crm/'
]
// 路由加载前
@@ -81,8 +82,8 @@ router.beforeEach(async (to, from, next) => {
if (tenantId && appId) {
next(`/login?tenantId=${tenantId}&appId=${appId}&redirect=${to.fullPath}`) // 否则全部重定向到登录页
} else {
// next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页
window.location.href = 'https://cloud.ahduima.com/ss/login'
// next(`/login?redirect=${to.fullPath}`) // 使用内部路由重定向到登录页
window.location.href = 'https://cloud.ahduima.com/ss/login' // 已注释:避免外部跳转
}
}
}