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