Skip to content

Commit b349cfc

Browse files
authored
feat: upgrade weapp-polyfill to support upload progress in weapp (#520)
1 parent 0bc2230 commit b349cfc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"qiniu": "^6.1.11",
5555
"should": "^11.1.0",
5656
"typescript": "^2.4.1",
57-
"weapp-polyfill": "^1.1.0",
57+
"weapp-polyfill": "^2.0.0",
5858
"webpack": "^2.2.0-rc.3"
5959
},
6060
"license": "MIT",

src/file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ module.exports = function(AV) {
463463
/**
464464
* Saves the file to the AV cloud.
465465
* @param {Object} [options]
466-
* @param {UploadProgressCallback} [options.onprogress] 文件上传进度,在 Node.js 与小程序中无效,回调参数说明详见 {@link UploadProgressCallback}。
466+
* @param {UploadProgressCallback} [options.onprogress] 文件上传进度,在 Node.js 中无效,回调参数说明详见 {@link UploadProgressCallback}。
467467
* @return {Promise} Promise that is resolved when the save finishes.
468468
*/
469469
save(options) {

0 commit comments

Comments
 (0)