docs: ✏️ 修正upload组件文档中change事件的dmeo错误 (#360)

This commit is contained in:
Jinliang 2024-06-09 14:29:47 +08:00 committed by GitHub
parent 3c0284f1f2
commit 61004d30ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}
```