<div  v-model="xxx">

<script>
import { mapGetters } from "vuex";
computed: {
...mapGetters([
	"xxx"
]),
},

用vuex数据时 警告:Computed property “XXX” was assigned to but it has no setter

第一种尝试–传送门:看思否问答

第二种 :直接将 v-model="" 改成 :value=""

Logo

前往低代码交流专区

更多推荐