mapMutations
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user