[vuex] unknown action type: getFarmInfo
// 请把代码文本粘贴到下方(请勿用图片代替代码)
<div class="p-3 text-center"> <img :src="$utils.getImage(farmInfo.org_images, 80)" alt="" class="account-img"> <h5 class="account-name">{{farmInfo.farm_name}}</h5> <p class="text-muted" v-show="farmInfo.tax_no"> <small>税务号:{{farmInfo.tax_no}}</small> </p> </div> computed: { farmInfo() { return this.$store.getters.farmInfo } }, created() { this.$store.dispatch('getFarmInfo') },
报这种错[vuex] unknown action type: getFarmInfo
神不在的星期二
相关分类