update text content

This commit is contained in:
MaysWind
2024-04-06 13:07:16 +08:00
parent cb57b216d0
commit 4b68ccf678
70 changed files with 557 additions and 563 deletions
+7 -7
View File
@@ -57,7 +57,7 @@ export const useRootStore = defineStore('root', {
const data = response.data;
if (!data || !data.success || !data.result || !data.result.token) {
reject({ message: 'Unable to login' });
reject({ message: 'Unable to log in' });
return;
}
@@ -93,7 +93,7 @@ export const useRootStore = defineStore('root', {
} else if (error.response && error.response.data && error.response.data.errorMessage) {
reject({ error: error.response.data });
} else {
reject({ message: 'Unable to login' });
reject({ message: 'Unable to log in' });
}
});
});
@@ -115,7 +115,7 @@ export const useRootStore = defineStore('root', {
token: token
});
} else {
reject({ message: 'An error has occurred' });
reject({ message: 'An error occurred' });
return;
}
@@ -293,7 +293,7 @@ export const useRootStore = defineStore('root', {
const data = response.data;
if (!data || !data.success || !data.result) {
reject({ message: 'Unable to resend verify email' });
reject({ message: 'Unable to resend validation email' });
return;
}
@@ -306,7 +306,7 @@ export const useRootStore = defineStore('root', {
} else if (error.response && error.response.data && error.response.data.errorMessage) {
reject({ error: error.response.data });
} else {
reject({ message: 'Unable to resend verify email' });
reject({ message: 'Unable to resend validation email' });
}
});
});
@@ -433,7 +433,7 @@ export const useRootStore = defineStore('root', {
const data = response.data;
if (!data || !data.success || !data.result) {
reject({ message: 'Unable to resend verify email' });
reject({ message: 'Unable to resend validation email' });
return;
}
@@ -446,7 +446,7 @@ export const useRootStore = defineStore('root', {
} else if (error.response && error.response.data && error.response.data.errorMessage) {
reject({ error: error.response.data });
} else {
reject({ message: 'Unable to resend verify email' });
reject({ message: 'Unable to resend validation email' });
}
});
});