Skip to content

Commit

Permalink
修复没有重叠的判断
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzongzhuan committed Apr 23, 2023
1 parent 18253f5 commit 69a925f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Editor/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 69a925f

Please sign in to comment.