|
@@ -330,8 +330,8 @@
|
|
|
}
|
|
|
return
|
|
|
}
|
|
|
- emit('update:value', typeof props.value == 'string' ? '' : [])
|
|
|
- emit('onChange', typeof props.value == 'string' ? '' : [])
|
|
|
+ emit('update:value', typeof props.value == 'object' ? [] : '')
|
|
|
+ emit('onChange', typeof props.value == 'object' ? [] : '')
|
|
|
}
|
|
|
// 通过DOM获取上传的文件
|
|
|
const uploadFileList = () => {
|