Fix merge

This commit is contained in:
tamaina 2021-04-14 02:25:08 +09:00
parent 5052603c40
commit 92e93d5928
1 changed files with 2 additions and 2 deletions

View File

@ -241,7 +241,7 @@ export default defineComponent({
addAcount() {
os.popup(import('@client/components/signin-dialog.vue'), {}, {
done: res => {
done: async res => {
await addAccount(res.id, res.i);
os.success();
},
@ -250,7 +250,7 @@ export default defineComponent({
createAccount() {
os.popup(import('@client/components/signup-dialog.vue'), {}, {
done: res => {
done: async res => {
await addAccount(res.id, res.i);
this.switchAccountWithToken(res.i);
},