From a6a9d5611d19325ff9d6d6db1bc8a2c4489f53e5 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 11 四月 2025 17:22:52 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/12333GovernmentWeb --- src/utils/common/file.ts | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/utils/common/file.ts b/src/utils/common/file.ts index 25cbd9a..2582146 100644 --- a/src/utils/common/file.ts +++ b/src/utils/common/file.ts @@ -25,6 +25,10 @@ return path ? [convertApi2FormUrl(path)] : []; } +export function convertApi2FormUrlBySeparator(path: string, separator = '|') { + return path.split(separator).map((x) => setOSSLink(x)); +} + /** * 鎶妘pload鐨勮矾寰勮浆鎹负涓婁紶鍒癮pi鐨勮矾寰� */ -- Gitblit v1.9.1