mapMutations

This commit is contained in:
shijingjing
2023-02-09 11:48:07 +08:00
parent 26ff0c5c83
commit 6f898705e9

View File

@@ -31,7 +31,7 @@
<script>
import dayjs from "dayjs"
import { mapState } from "vuex"
import { mapState,mapMutations } from "vuex"
export default {
appName: "打卡",
data() {
@@ -47,6 +47,7 @@ export default {
...mapState(['user'])
},
methods: {
...mapMutations('goAuth'),
getList() {
this.$http.post(`/api/appwechatsigninfo/listByWxUserId?current=${this.current}&size=3000`,null, {alwaysReturn: true}).then(res=> {
if(res?.data?.records) {