mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
docs: ✏️ 修正upload组件文档中change事件的dmeo错误 (#360)
This commit is contained in:
parent
3c0284f1f2
commit
61004d30ed
@ -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
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user