diff --git a/packages/file/package.json b/packages/file/package.json index 4ed6447..38f3e3e 100644 --- a/packages/file/package.json +++ b/packages/file/package.json @@ -1,6 +1,6 @@ { "name": "@cool-midway/file", - "version": "6.0.2", + "version": "6.0.3", "description": "", "main": "dist/index.js", "typings": "index.d.ts", diff --git a/packages/file/src/file.ts b/packages/file/src/file.ts index 166a659..720654d 100644 --- a/packages/file/src/file.ts +++ b/packages/file/src/file.ts @@ -236,7 +236,7 @@ export class CoolFile { throw respErr; } if (respInfo.statusCode == 200) { - resolve(qiniu.publicDomain + '/' + name); + resolve(qiniu.publicDomain + '/' + key); } } );