mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-23 18:11:37 +08:00
feat: close #17
This commit is contained in:
@@ -45,7 +45,12 @@ export const useAuth = createSharedComposable(() => {
|
||||
|
||||
onError((err) => {
|
||||
const error = err as ApiError;
|
||||
message.error(error.detail);
|
||||
|
||||
if (error.status === 404) {
|
||||
message.error('请更新AutoBangumi!');
|
||||
} else {
|
||||
message.error(error.detail);
|
||||
}
|
||||
});
|
||||
|
||||
if (check()) {
|
||||
|
||||
Reference in New Issue
Block a user