优化代码

This commit is contained in:
RuoYi
2024-12-05 16:45:54 +08:00
parent 4db1eedc6a
commit 7644a87718
3 changed files with 6 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ const styles = computed(() => {
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 });