Merge branch 'main' into feat/frontend-theme-and-style
## 冲突解决 - Login.vue: 采用 main 分支的 SSO 登录方式,移除传统登录表单 ## 合并内容 - SSO 登录功能 - 服务器端架构重构 - 新增认证、审计等模块
This commit is contained in:
@@ -64,7 +64,7 @@ const description = computed(() => {
|
||||
const handleClick = async () => {
|
||||
if (props.system.sso_enabled) {
|
||||
const { data } = await subsystemApi.getSSOUrl(props.system.id)
|
||||
window.open(data.sso_url, '_blank')
|
||||
window.location.assign(data.sso_url)
|
||||
} else {
|
||||
window.open(props.system.url, '_blank')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user