RuoYi
2024-12-13 5382a52d2291fb861c9f127aed29f21b1bc9aa77
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 });