Use splice instead of delete

This commit is contained in:
flxy 2023-01-12 09:45:10 +01:00
parent 4e02005dd9
commit d21ce77670
1 changed files with 1 additions and 1 deletions

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]