From 4250792a2a5207c4c5ca64654555db74bd28a908 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sun, 23 Apr 2023 16:42:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B2=A1=E6=9C=89=E9=87=8D?= =?UTF-8?q?=E5=8F=A0=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Editor/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue index ef3a832..eaed9c5 100644 --- a/src/components/Editor/index.vue +++ b/src/components/Editor/index.vue @@ -73,7 +73,7 @@ const styles = computed(() => { const content = ref(""); watch(() => props.modelValue, (v) => { - if (v !== content) { + if (v !== content.value) { content.value = v === undefined ? "

" : v; } }, { immediate: true });