2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00

feat: 优化已登录自动跳转仪表盘

This commit is contained in:
耗子
2025-02-09 15:51:42 +08:00
parent 2293646c4c
commit c527af97ca
2 changed files with 15 additions and 19 deletions

View File

@@ -30,7 +30,7 @@ export const http = createAlova({
console.log(json)
const message = resolveResError(
code,
json?.message && json.message.trim() !== '' ? json.message : statusText
(typeof json?.message === 'string' && json.message.trim()) || statusText
)
const noAlert = meta?.noAlert
if (!noAlert) {