RuoYi
2025-04-21 f2a0f694655c5b58b7f9fd002493bdaa393ae6ff
src/components/Editor/index.vue
@@ -108,7 +108,7 @@
const content = ref("");
watch(() => props.modelValue, (v) => {
  if (v !== content.value) {
    content.value = v === undefined ? "<p></p>" : v;
    content.value = v == undefined ? "<p></p>" : v;
  }
}, { immediate: true });