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 });