feat: 调整

This commit is contained in:
zoujing committed 2025-07-21 19:42:57 +08:00
1 parent 8a040896a7
commit c75448e558
3 files changed
+8 -2

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ export async function loginAuth() {
username: 'admin',
password: 'YehdBPev'
});
if (response.success) {
if (response.access_token) {
return response.data;
} else {
throw new Error(response.message || '登录失败');