feat: 调整
This commit is contained in:
@@ -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 || '登录失败');
|
||||
|
||||
Reference in New Issue
Block a user