Skip to content

Commit

Permalink
Update simple-post.html
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu authored Mar 21, 2018
1 parent c592a41 commit 7678c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/simple-post.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h1>Ajax Post 上传</h1>

// 上传文件
var uploadFile = function (file, callback) {
var Key = 'dir/' + file.name; // 这里指定目录
var Key = 'dir/' + file.name; // 这里指定上传路径

getAuthorization({Method: 'POST', Key: ''}, function (err, auth) {
var fd = new FormData();
Expand Down

0 comments on commit 7678c80

Please sign in to comment.