From 224bbd486f8745cd471b77f38570b65be3b87cfc Mon Sep 17 00:00:00 2001
From: syuilo <4439005+syuilo@users.noreply.github.com>
Date: Thu, 31 Oct 2024 13:50:50 +0900
Subject: [PATCH] refactor
---
packages/frontend/src/components/MkCropperDialog.vue | 2 +-
.../src/components/MkCustomEmojiDetailedDialog.vue | 2 +-
.../frontend/src/components/MkEmbedCodeGenDialog.vue | 2 +-
packages/frontend/src/components/MkFormDialog.vue | 2 +-
packages/frontend/src/components/MkPageWindow.vue | 8 ++++----
packages/frontend/src/components/MkSignupDialog.vue | 2 +-
.../src/components/MkTokenGenerateWindow.vue | 2 +-
.../src/components/MkUserAnnouncementEditDialog.vue | 12 ++++++------
.../frontend/src/components/MkUserSelectDialog.vue | 2 +-
packages/frontend/src/components/MkWidgets.vue | 2 +-
packages/frontend/src/components/MkWindow.vue | 2 +-
.../pages/page-editor/els/page-editor.el.image.vue | 2 +-
.../pages/page-editor/els/page-editor.el.note.vue | 2 +-
.../pages/page-editor/els/page-editor.el.section.vue | 4 ++--
.../pages/page-editor/els/page-editor.el.text.vue | 4 ++--
.../src/pages/page-editor/page-editor.blocks.vue | 2 +-
16 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/packages/frontend/src/components/MkCropperDialog.vue b/packages/frontend/src/components/MkCropperDialog.vue
index c2a1aaf29adf..0186cfc2c086 100644
--- a/packages/frontend/src/components/MkCropperDialog.vue
+++ b/packages/frontend/src/components/MkCropperDialog.vue
@@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
:withOkButton="true"
@close="cancel()"
@ok="ok()"
- @closed="$emit('closed')"
+ @closed="emit('closed')"
>
{{ i18n.ts.cropImage }}
diff --git a/packages/frontend/src/components/MkCustomEmojiDetailedDialog.vue b/packages/frontend/src/components/MkCustomEmojiDetailedDialog.vue
index 949adc6a8e1b..ecbee864dc21 100644
--- a/packages/frontend/src/components/MkCustomEmojiDetailedDialog.vue
+++ b/packages/frontend/src/components/MkCustomEmojiDetailedDialog.vue
@@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-->
-
+
:{{ emoji.name }}:
diff --git a/packages/frontend/src/components/MkEmbedCodeGenDialog.vue b/packages/frontend/src/components/MkEmbedCodeGenDialog.vue
index c2bb516c7ca4..6e9eb75920a2 100644
--- a/packages/frontend/src/components/MkEmbedCodeGenDialog.vue
+++ b/packages/frontend/src/components/MkEmbedCodeGenDialog.vue
@@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
:scroll="false"
:withOkButton="false"
@close="cancel()"
- @closed="$emit('closed')"
+ @closed="emit('closed')"
>
{{ i18n.ts._embedCodeGen.title }}
diff --git a/packages/frontend/src/components/MkFormDialog.vue b/packages/frontend/src/components/MkFormDialog.vue
index 124f114111c2..a639eae208dd 100644
--- a/packages/frontend/src/components/MkFormDialog.vue
+++ b/packages/frontend/src/components/MkFormDialog.vue
@@ -13,7 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only
@click="cancel()"
@ok="ok()"
@close="cancel()"
- @closed="$emit('closed')"
+ @closed="emit('closed')"
>
{{ title }}
diff --git a/packages/frontend/src/components/MkPageWindow.vue b/packages/frontend/src/components/MkPageWindow.vue
index 02c84df4474d..9547423227a6 100644
--- a/packages/frontend/src/components/MkPageWindow.vue
+++ b/packages/frontend/src/components/MkPageWindow.vue
@@ -13,7 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only
:buttonsLeft="buttonsLeft"
:buttonsRight="buttonsRight"
:contextmenu="contextmenu"
- @closed="$emit('closed')"
+ @closed="emit('closed')"
>
@@ -30,17 +30,17 @@ SPDX-License-Identifier: AGPL-3.0-only