Explorar o código

修复没有重叠的判断

RuoYi %!s(int64=2) %!d(string=hai) anos
pai
achega
4250792a2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/Editor/index.vue

+ 1 - 1
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 });