From c944f338758955a03e1390052a0049505de65d53 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 19:14:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=BB=8E=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E5=BA=93=E4=B8=8B=E8=BD=BD=E6=94=B9=E6=88=90=E6=9C=AC=E5=9C=B0?= =?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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/common/compUtils.ts b/src/utils/common/compUtils.ts index fd34aa6..f64736b 100644 --- a/src/utils/common/compUtils.ts +++ b/src/utils/common/compUtils.ts @@ -17,8 +17,8 @@ export const getFileAccessHttpUrl = (fileUrl, prefix = 'http') => { //判断是否是数组格式 let isArray = fileUrl.indexOf('[') != -1; if (!isArray) { - // let prefix = `${baseApiUrl}/sys/common/static/`; - let prefix = `${baseApiUrl}/zyk/zykInfo/static/`; + let prefix = `${baseApiUrl}/sys/common/static/`; + // let prefix = `${baseApiUrl}/zyk/zykInfo/static/`; // 判断是否已包含前缀 if (!fileUrl.startsWith(prefix)) { result = `${prefix}${fileUrl}`;