From d8651570a3a0f05a74c753d903325577deed69ea Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Wed, 13 Aug 2025 17:16:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=A1=861114444?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/business/ueditor.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/business/ueditor.vue b/src/components/business/ueditor.vue index bb1a3c3..8879393 100644 --- a/src/components/business/ueditor.vue +++ b/src/components/business/ueditor.vue @@ -53,11 +53,20 @@ const ueditorBasePath = computed(() => { if (isProduction.value) { + // 线上环境:确保包含UEditorPlus层级 return '/admin/web/UEditorPlus/' } + // 本地环境 return '/UEditorPlus/' }) + // 调试信息 + console.log('UEditor环境配置:', { + apiBase: apiBase.value, + isProduction: isProduction.value, + ueditorBasePath: ueditorBasePath.value + }) + const props = defineProps({ // 内容 modelValue: {