Fix merge
This commit is contained in:
parent
5052603c40
commit
92e93d5928
|
@ -241,7 +241,7 @@ export default defineComponent({
|
||||||
|
|
||||||
addAcount() {
|
addAcount() {
|
||||||
os.popup(import('@client/components/signin-dialog.vue'), {}, {
|
os.popup(import('@client/components/signin-dialog.vue'), {}, {
|
||||||
done: res => {
|
done: async res => {
|
||||||
await addAccount(res.id, res.i);
|
await addAccount(res.id, res.i);
|
||||||
os.success();
|
os.success();
|
||||||
},
|
},
|
||||||
|
@ -250,7 +250,7 @@ export default defineComponent({
|
||||||
|
|
||||||
createAccount() {
|
createAccount() {
|
||||||
os.popup(import('@client/components/signup-dialog.vue'), {}, {
|
os.popup(import('@client/components/signup-dialog.vue'), {}, {
|
||||||
done: res => {
|
done: async res => {
|
||||||
await addAccount(res.id, res.i);
|
await addAccount(res.id, res.i);
|
||||||
this.switchAccountWithToken(res.i);
|
this.switchAccountWithToken(res.i);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue