Compare commits
2 Commits
97c8c37669
...
a6d14a4f17
| Author | SHA1 | Date | |
|---|---|---|---|
| a6d14a4f17 | |||
| fc299b8320 |
@ -165,10 +165,10 @@ const afterRead = async (options) => {
|
||||
}
|
||||
}
|
||||
|
||||
const removeFile = (_file, index) => {
|
||||
const removeFile = (_file, options) => {
|
||||
emit(
|
||||
'update:modelValue',
|
||||
props.modelValue.filter((_, currentIndex) => currentIndex !== index)
|
||||
props.modelValue.filter((_, currentIndex) => currentIndex !== options.index)
|
||||
)
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user