From ff14fa5e4efaf4e3e6a307473e9bd2881da265c1 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期五, 18 四月 2025 12:55:34 +0800
Subject: [PATCH] 支持文件&图片组件自定义地址&参数

---
 src/components/Editor/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue
index 0a696f2..1bd01ed 100644
--- a/src/components/Editor/index.vue
+++ b/src/components/Editor/index.vue
@@ -108,7 +108,7 @@
 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 });
 

--
Gitblit v1.9.3