1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-12 00:04:04 +02:00
This commit is contained in:
syuilo
2020-09-07 14:19:53 +09:00
parent 02701d852d
commit cd79314f69
38 changed files with 240 additions and 317 deletions

View File

@@ -276,7 +276,7 @@ export default defineComponent({
},
async addAcount() {
os.popup(await import('./signin-dialog.vue')).$once('login', res => {
os.modal(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() {
os.popup(await import('./signup-dialog.vue')).$once('signup', res => {
os.modal(await import('./signup-dialog.vue')).$once('signup', res => {
this.$store.dispatch('addAcount', res);
this.switchAccountWithToken(res.i);
});