From b06e2e25ee73d738bb322d99dc8b5dd22c43ee95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com> Date: Fri, 17 May 2024 18:38:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=9C=AC=E5=9C=B0=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E6=94=B9=E6=88=90=E4=BB=8E=E8=B5=84=E6=BA=90=E5=BA=93?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/common/compUtils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/common/compUtils.ts b/src/utils/common/compUtils.ts index b36eebb..fd34aa6 100644 --- a/src/utils/common/compUtils.ts +++ b/src/utils/common/compUtils.ts @@ -17,7 +17,8 @@ export const getFileAccessHttpUrl = (fileUrl, prefix = 'http') => { //判断是否是数组格式 let isArray = fileUrl.indexOf('[') != -1; if (!isArray) { - let prefix = `${baseApiUrl}/sys/common/static/`; + // let prefix = `${baseApiUrl}/sys/common/static/`; + let prefix = `${baseApiUrl}/zyk/zykInfo/static/`; // 判断是否已包含前缀 if (!fileUrl.startsWith(prefix)) { result = `${prefix}${fileUrl}`;