fix: 修复 七牛上传 uploadWithKey 回调报错

This commit is contained in:
chenxingyu 2023-08-02 15:43:44 +08:00
parent 0a00cdf46e
commit 7fe79b04a6
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@cool-midway/file", "name": "@cool-midway/file",
"version": "6.0.2", "version": "6.0.3",
"description": "", "description": "",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "index.d.ts", "typings": "index.d.ts",

View File

@ -236,7 +236,7 @@ export class CoolFile {
throw respErr; throw respErr;
} }
if (respInfo.statusCode == 200) { if (respInfo.statusCode == 200) {
resolve(qiniu.publicDomain + '/' + name); resolve(qiniu.publicDomain + '/' + key);
} }
} }
); );