wupengfei
5 天以前 a4bb5626dcf18a1893792eeeca75e9139c744ad0
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的路径
 */