From 858cdd42afb3b96ae83fb4a79f5f876909f507bf Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 15 Feb 2020 01:40:38 +0900 Subject: [PATCH] :art: --- src/client/app.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/client/app.vue b/src/client/app.vue index d696d70fd..c0a8ab277 100644 --- a/src/client/app.vue +++ b/src/client/app.vue @@ -348,7 +348,7 @@ export default Vue.extend({ const accountItems = accounts.map(account => ({ type: 'user', user: account, - action: () => { this.switchAccount(account) } + action: () => { this.switchAccount(account); } })); this.$root.menu({ @@ -536,6 +536,11 @@ export default Vue.extend({ }, switchAccountWithToken(token: string) { + this.$root.dialog({ + type: 'waiting', + iconOnly: true + }); + this.$root.api('i', {}, token).then((i: any) => { this.$store.dispatch('switchAccount', { ...i,