This commit is contained in:
syuilo
2020-11-03 15:22:55 +09:00
parent 5ef4a52bbd
commit c3ae6f3a4a
25 changed files with 73 additions and 62 deletions

View File

@@ -113,8 +113,8 @@ export default defineComponent({
os.promiseDialog(promise);
},
async edit(emoji) {
os.popup(await import('./emoji-edit-dialog.vue'), {
edit(emoji) {
os.popup(import('./emoji-edit-dialog.vue'), {
emoji: emoji
}, {
done: result => {

View File

@@ -84,8 +84,8 @@ export default defineComponent({
Progress.done();
},
async showUser() {
os.popup(await import('./user-dialog.vue'), {
showUser() {
os.popup(import('./user-dialog.vue'), {
userId: this.file.userId
}, {}, 'closed');
},

View File

@@ -131,8 +131,8 @@ export default defineComponent({
});
},
async show(file, ev) {
os.popup(await import('./file-dialog.vue'), {
show(file, ev) {
os.popup(import('./file-dialog.vue'), {
fileId: file.id
}, {}, 'closed');
},

View File

@@ -206,8 +206,8 @@ export default defineComponent({
});
},
async show(user) {
os.popup(await import('./user-dialog.vue'), {
show(user) {
os.popup(import('./user-dialog.vue'), {
userId: user.id
}, {}, 'closed');
},