diff --git a/ruoyi-fastapi-frontend/src/components/Editor/index.vue b/ruoyi-fastapi-frontend/src/components/Editor/index.vue index 0a696f2..1bd01ed 100644 --- a/ruoyi-fastapi-frontend/src/components/Editor/index.vue +++ b/ruoyi-fastapi-frontend/src/components/Editor/index.vue @@ -108,7 +108,7 @@ const styles = computed(() => { const content = ref(""); watch(() => props.modelValue, (v) => { if (v !== content.value) { - content.value = v === undefined ? "

" : v; + content.value = v == undefined ? "

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