Skip to content

Commit 69412d1

Browse files
authored
Update README.md
1 parent da3f9f1 commit 69412d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ formDesc: {
4949
action: 'https://jsonplaceholder.typicode.com/posts', // 上传地址
5050
data: {token: 'xxx'}, // 附带数据
5151
// 上传后对响应处理, 拼接为一个图片的地址
52-
handleResponse(response, file, fileList) {
52+
responseFn(response, file, fileList) {
5353
// 根据响应结果, 设置 URL
5454
return 'https://xxx.xxx.com/image/' + response.id
5555
}

0 commit comments

Comments
 (0)