zhengyiming
6 天以前 ba252a1184011d87078074374019aefb8c8ad2bb
src/utils/common/file.ts
@@ -25,6 +25,10 @@
  return path ? [convertApi2FormUrl(path)] : [];
}
export function convertApi2FormUrls(paths: string[]): UploadUserFile[] {
  return paths?.length > 0 ? paths.map((x) => convertApi2FormUrl(x)) : [];
}
/**
 * 把upload的路径转换为上传到api的路径
 */