Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Aug 1, 2018
1 parent b06c2f9 commit f22eb49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.js
Original file line number Diff line number Diff line change
Expand Up @@ -5751,7 +5751,7 @@ function _submitRequest(params, callback) {
};
}

cos.emit('before-send', opt);
self.emit('before-send', opt);
var sender = REQUEST(opt, function (err, response, body) {

// 返回内容添加 状态码 和 headers
Expand Down
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -1962,7 +1962,7 @@ function _submitRequest(params, callback) {
};
}

cos.emit('before-send', opt);
self.emit('before-send', opt);
var sender = REQUEST(opt, function (err, response, body) {

// 返回内容添加 状态码 和 headers
Expand Down

0 comments on commit f22eb49

Please sign in to comment.