修复没有重叠的判断

master
RuoYi 1 year ago
parent ab98f29c3f
commit 4250792a2a
  1. 2
      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 ? "<p></p>" : v;
}
}, { immediate: true });

Loading…
Cancel
Save