Skip to content

Commit 61004d3

Browse files
author
Jinliang
authored
docs: ✏️ 修正upload组件文档中change事件的dmeo错误 (#360)
1 parent 3c0284f commit 61004d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/component/upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const fileList = ref<any[]>([
2525

2626
const action: string = 'https://ftf.jd.com/api/uploadImg'
2727

28-
function handleChange({ files }) {
28+
function handleChange({ fileList: files }) {
2929
fileList.value = files
3030
}
3131
```

0 commit comments

Comments
 (0)