From 99a7a7e81d10904fe498640eafbce5563b2f9849 Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Fri, 10 Oct 2025 09:47:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=9C=8D=E5=8A=A1=E6=8C=87?= =?UTF-8?q?=E4=BB=A4=E8=B5=84=E6=BA=90=E5=AD=98=E5=82=A8=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E5=90=8E=EF=BC=8C=E8=B5=84=E6=BA=90=E7=9B=B8?= =?UTF-8?q?=E5=85=B3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../serviceDirective/ConfigServiceDirective.data.ts | 6 +++--- .../components/ConfigServiceDirectiveForm.vue | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/services/serviceDirective/ConfigServiceDirective.data.ts b/src/views/services/serviceDirective/ConfigServiceDirective.data.ts index 8c2e23d..e8aec35 100644 --- a/src/views/services/serviceDirective/ConfigServiceDirective.data.ts +++ b/src/views/services/serviceDirective/ConfigServiceDirective.data.ts @@ -120,7 +120,7 @@ export const columns: BasicColumn[] = [ dataIndex: 'previewFile', customRender: ({ text }) => { // 如果 text 为空或 null/undefined,使用默认图片 - const imageUrl = text ? opeMediaAddress + text : import.meta.env.VITE_DEFAULT_DIRECTIVE_PRE_PIC; + const imageUrl = text ? opeMediaAddress + text : opeMediaAddress + import.meta.env.VITE_DEFAULT_DIRECTIVE_PRE_PIC; return render.renderImage({ text: imageUrl }); }, // customRender: render.renderImage, @@ -131,7 +131,7 @@ export const columns: BasicColumn[] = [ dataIndex: 'previewFileSmall', customRender: ({ text }) => { // 如果 text 为空或 null/undefined,使用默认图片 - const imageUrl = text ? opeMediaAddress + text : import.meta.env.VITE_DEFAULT_DIRECTIVE_PRESMALL_PIC; + const imageUrl = text ? opeMediaAddress + text : opeMediaAddress + import.meta.env.VITE_DEFAULT_DIRECTIVE_PRESMALL_PIC; return render.renderImage({ text: imageUrl }); }, // customRender: render.renderImage, @@ -160,7 +160,7 @@ export const columns: BasicColumn[] = [ dataIndex: 'immediateFile', customRender: ({ text }) => { // 如果 text 为空或 null/undefined,使用默认图片 - const imageUrl = text ? opeMediaAddress + text : import.meta.env.VITE_DEFAULT_DIRECTIVE_IM_PIC; + const imageUrl = text ? opeMediaAddress + text : opeMediaAddress + import.meta.env.VITE_DEFAULT_DIRECTIVE_IM_PIC; return render.renderImage({ text: imageUrl }); }, // customRender: render.renderImage, diff --git a/src/views/services/serviceDirective/components/ConfigServiceDirectiveForm.vue b/src/views/services/serviceDirective/components/ConfigServiceDirectiveForm.vue index 5584ee2..48acb4e 100644 --- a/src/views/services/serviceDirective/components/ConfigServiceDirectiveForm.vue +++ b/src/views/services/serviceDirective/components/ConfigServiceDirectiveForm.vue @@ -116,26 +116,26 @@ - -