Add remove option for new depicts list.
This commit is contained in:
parent
9b92884523
commit
fa75292e22
2 changed files with 6 additions and 2 deletions
|
|
@ -6,6 +6,9 @@ var app = new Vue({
|
|||
new_depicts: [],
|
||||
},
|
||||
methods: {
|
||||
remove(index) {
|
||||
this.$delete(this.new_depicts, index);
|
||||
},
|
||||
add_depicts(hit) {
|
||||
this.new_depicts.push(hit);
|
||||
this.hits = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue