mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-04 17:38:12 +00:00
Merge pull request #126 from chenxingyuoo/hotfix/qiniu-upload08-02
fix: 修复 七牛上传 uploadWithKey 回调报错
This commit is contained in:
commit
9c4dfdccec
@ -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",
|
||||
|
||||
@ -236,7 +236,7 @@ export class CoolFile {
|
||||
throw respErr;
|
||||
}
|
||||
if (respInfo.statusCode == 200) {
|
||||
resolve(qiniu.publicDomain + '/' + name);
|
||||
resolve(qiniu.publicDomain + '/' + key);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user