first use of vuex

This commit is contained in:
RemiSaurel
2022-08-25 23:46:57 +02:00
parent 7f754f2e09
commit 398c261624
6 changed files with 81 additions and 45 deletions
+1
View File
@@ -44,6 +44,7 @@ export default {
this.items = this.items.filter(e =>
e !== item
)
this.$store.commit("addItemFinished", item);
this.clearItem()
},
clearItem() {