Use splice instead of delete

This commit is contained in:
flxy 2023-01-12 09:45:10 +01:00
parent 4e02005dd9
commit d21ce77670

View file

@ -153,7 +153,7 @@ const ProfileTab = {
return false
},
deleteField (index, event) {
this.$delete(this.newFields, index)
this.newFields.splice(index, 1)
},
uploadFile (slot, e) {
const file = e.target.files[0]