mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
update translation
This commit is contained in:
@@ -12,18 +12,18 @@ export const useUserExternalAuthStore = defineStore('userExternalAUth', () => {
|
||||
const data = response.data;
|
||||
|
||||
if (!data || !data.success || !data.result) {
|
||||
reject({ message: 'Unable to retrieve third-party logins list' });
|
||||
reject({ message: 'Unable to retrieve third-party login list' });
|
||||
return;
|
||||
}
|
||||
|
||||
resolve(data.result);
|
||||
}).catch(error => {
|
||||
logger.error('failed to load third-party logins list', error);
|
||||
logger.error('failed to load third-party login list', error);
|
||||
|
||||
if (error.response && error.response.data && error.response.data.errorMessage) {
|
||||
reject({ error: error.response.data });
|
||||
} else if (!error.processed) {
|
||||
reject({ message: 'Unable to retrieve third-party logins list' });
|
||||
reject({ message: 'Unable to retrieve third-party login list' });
|
||||
} else {
|
||||
reject(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user