修复没有重叠的判断

master
RuoYi 2 years ago
parent ab98f29c3f
commit 4250792a2a
  1. 2
      src/components/Editor/index.vue

@ -73,7 +73,7 @@ const styles = computed(() => {
const content = ref(""); const content = ref("");
watch(() => props.modelValue, (v) => { watch(() => props.modelValue, (v) => {
if (v !== content) { if (v !== content.value) {
content.value = v === undefined ? "<p></p>" : v; content.value = v === undefined ? "<p></p>" : v;
} }
}, { immediate: true }); }, { immediate: true });

Loading…
Cancel
Save