Use splice instead of delete
This commit is contained in:
parent
4e02005dd9
commit
d21ce77670
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue