mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +08:00
fix: 修复 七牛上传 uploadWithKey 回调报错
This commit is contained in:
parent
0a00cdf46e
commit
7fe79b04a6
@ -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…
Reference in New Issue
Block a user