mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-02-06 01:45:35 +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",
|
"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",
|
||||||
|
|||||||
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user