|
@@ -71,9 +71,7 @@ const onSuccess = (response, file) => {
|
|
|
}
|
|
|
// 删除图片
|
|
|
const onRemove = (file, fileList) => {
|
|
|
- let l = cloneDeep(l)
|
|
|
- l = l.filter((f) => f.uri !== get(file, 'uri'))
|
|
|
- emits('update:modelValue', l)
|
|
|
+ list.value.filter((f) => f.uri !== get(file, 'uri'))
|
|
|
return true
|
|
|
}
|
|
|
</script>
|