emojigen wip13

This commit is contained in:
こけっち 2022-05-05 17:02:11 +09:00
parent b54e63f835
commit 5dad50767e
No known key found for this signature in database
GPG Key ID: 21460619C5FC4DD1

View File

@ -118,7 +118,7 @@ export default defineComponent({
}, },
emojiApproval() { emojiApproval: function () {
const emojiUpload = async () => { const emojiUpload = async () => {
const marker = Math.random().toString(); // TODO: UUID使 const marker = Math.random().toString(); // TODO: UUID使
@ -149,9 +149,17 @@ export default defineComponent({
}; };
const edit = (emoji) => {
os.popup(import('./emoji-edit-dialog.vue'), {
emoji: emoji
});
};
(async () => { (async () => {
await this.emojiApproval(); await this.emojiApproval();
await emojiUpload(); await emojiUpload();
edit(this.emojiName);
})(); })();
}, },
}, },