refactor(frontend): merge authserver web login

This commit is contained in:
mac
2026-07-15 14:47:42 +08:00
parent 6af511ed0b
commit 81d2a8a60b
23 changed files with 178 additions and 1115 deletions
+4 -2
View File
@@ -52,13 +52,15 @@ interface Column {
class?: string
}
defineProps<{
withDefaults(defineProps<{
title: string
columns: Column[]
data: any[]
total: number
pageSize?: number
}>()
}>(), {
pageSize: 10,
})
const statusMap: Record<string, string> = {
success: '成功',
+1 -1
View File
@@ -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')
}