wip
This commit is contained in:
parent
3762116c17
commit
d79a1a4e0e
36 changed files with 135 additions and 130 deletions
|
|
@ -276,7 +276,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
async addAcount() {
|
||||
this.$root.new(await import('./signin-dialog.vue')).$once('login', res => {
|
||||
os.popup(await import('./signin-dialog.vue')).$once('login', res => {
|
||||
this.$store.dispatch('addAcount', res);
|
||||
os.dialog({
|
||||
type: 'success',
|
||||
|
|
@ -286,7 +286,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
async createAccount() {
|
||||
this.$root.new(await import('./signup-dialog.vue')).$once('signup', res => {
|
||||
os.popup(await import('./signup-dialog.vue')).$once('signup', res => {
|
||||
this.$store.dispatch('addAcount', res);
|
||||
this.switchAccountWithToken(res.i);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue