From 2f1c890623090c7f0797490edf11cae7e137b8b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Fri, 25 Nov 2022 15:57:39 +0800 Subject: [PATCH] fix: reference content rich component --- components/account/AccountHeader.vue | 4 ++-- components/content/ContentRich.setup.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/account/AccountHeader.vue b/components/account/AccountHeader.vue index be1ede2d..d5c0521b 100644 --- a/components/account/AccountHeader.vue +++ b/components/account/AccountHeader.vue @@ -80,7 +80,7 @@ function getFieldNameIcon(fieldName: string) {
- +
@@ -88,7 +88,7 @@ function getFieldNameIcon(fieldName: string) {
{{ field.name }} |
- +
diff --git a/components/content/ContentRich.setup.ts b/components/content/ContentRich.setup.ts index 59c90422..77835b81 100644 --- a/components/content/ContentRich.setup.ts +++ b/components/content/ContentRich.setup.ts @@ -7,7 +7,7 @@ defineOptions({ const props = defineProps<{ content: string - emojis: Emoji[] + emojis?: Emoji[] }>() const emojiObject = emojisArrayToObject(props.emojis || [])