vue v-model uses the value in state and still reports an error
according to the official website.<input v-model="vmodel" type="text" @input="changeInput"/>
import { mapState,mapGetters,mapMutations,mapActions } from "vuex"
...mapState({
vmodel : (state) => state.vmodel
}),
...mapMutations({
SET_vmodel :"SET_vmodel"
}),
changeInput(event){
this.SET_vmodel(event.target.value)
}
here is part of the code. The value has been modified successfully, but the error is still reported. Note: the program can run