Skip to content

Commit 7678c80

Browse files
authored
Update simple-post.html
1 parent c592a41 commit 7678c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/simple-post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ <h1>Ajax Post 上传</h1>
6161

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

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

0 commit comments

Comments
 (0)