Compare commits
No commits in common. "a6d14a4f1749897a8d42efbe55ae1a946294edb9" and "97c8c3766904c925f3b1bbe6521be99ec2242f33" have entirely different histories.
a6d14a4f17
...
97c8c37669
@ -165,10 +165,10 @@ const afterRead = async (options) => {
|
||||
}
|
||||
}
|
||||
|
||||
const removeFile = (_file, options) => {
|
||||
const removeFile = (_file, index) => {
|
||||
emit(
|
||||
'update:modelValue',
|
||||
props.modelValue.filter((_, currentIndex) => currentIndex !== options.index)
|
||||
props.modelValue.filter((_, currentIndex) => currentIndex !== index)
|
||||
)
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user