Compare commits

..

No commits in common. "a6d14a4f1749897a8d42efbe55ae1a946294edb9" and "97c8c3766904c925f3b1bbe6521be99ec2242f33" have entirely different histories.

View File

@ -165,10 +165,10 @@ const afterRead = async (options) => {
} }
} }
const removeFile = (_file, options) => { const removeFile = (_file, index) => {
emit( emit(
'update:modelValue', 'update:modelValue',
props.modelValue.filter((_, currentIndex) => currentIndex !== options.index) props.modelValue.filter((_, currentIndex) => currentIndex !== index)
) )
} }
</script> </script>