Skip to content

Commit

Permalink
docs: ✏️ 修正upload组件文档中change事件的dmeo错误 (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinliang authored Jun 9, 2024
1 parent 3c0284f commit 61004d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/component/upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const fileList = ref<any[]>([

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

function handleChange({ files }) {
function handleChange({ fileList: files }) {
fileList.value = files
}
```
Expand Down

0 comments on commit 61004d3

Please sign in to comment.