This commit is contained in:
syuilo 2020-09-05 13:09:34 +09:00
parent 138c9868e8
commit deb3df1536
67 changed files with 229 additions and 229 deletions

View file

@ -127,7 +127,7 @@ export default defineComponent({
search() {
if (this.searching) return;
this.$root.showDialog({
this.$store.dispatch('showDialog', {
title: this.$t('search'),
input: true
}).then(async ({ canceled, result: query }) => {
@ -277,7 +277,7 @@ export default defineComponent({
async addAcount() {
this.$root.new(await import('./signin-dialog.vue')).$once('login', res => {
this.$store.dispatch('addAcount', res);
this.$root.showDialog({
this.$store.dispatch('showDialog', {
type: 'success',
iconOnly: true, autoClose: true
});
@ -297,7 +297,7 @@ export default defineComponent({
},
switchAccountWithToken(token: string) {
this.$root.showDialog({
this.$store.dispatch('showDialog', {
type: 'waiting',
iconOnly: true
});