wupengfei
8 天以前 05d232eae8b822b52da55793d4ede810f5d1d2b3
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的路径
 */