This commit is contained in:
syuilo
2020-09-05 13:09:34 +09:00
parent 138c9868e8
commit deb3df1536
67 changed files with 229 additions and 229 deletions

View File

@@ -145,7 +145,7 @@ export default defineComponent({
this.$emit('login', res);
}).catch(err => {
if (err === null) return;
this.$root.showDialog({
this.$store.dispatch('showDialog', {
type: 'error',
text: this.$t('signinFailed')
});
@@ -166,7 +166,7 @@ export default defineComponent({
this.challengeData = res;
return this.queryKey();
}).catch(() => {
this.$root.showDialog({
this.$store.dispatch('showDialog', {
type: 'error',
text: this.$t('signinFailed')
});
@@ -186,7 +186,7 @@ export default defineComponent({
}).then(res => {
this.$emit('login', res);
}).catch(() => {
this.$root.showDialog({
this.$store.dispatch('showDialog', {
type: 'error',
text: this.$t('loginFailed')
});