Answer the question
In order to leave comments, you need to log in
Vuex, problem with "strict: true" totalitarian mode?
I will give part of the code
<div class="row" v-for="(book, index) in this.books" :key="index">
<input class="name-book" v-model="book.title">
</div>
"Error: [vuex] do not mutate vuex store state outside mutation handlers."
<input class="name-book" v-model="inputBook">
...
...
computed: {
inputBook: {
get(){},
set(){},
}
}
...
get(...arg){ console.log(...arg); },
Answer the question
In order to leave comments, you need to log in
<div class="row" v-for="(book, index) in books" :key="index">
<input class="name-book" v-model="books[index]title">
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question