签到成功

This commit is contained in:
liuye
2022-09-14 09:12:31 +08:00
parent e3c408a416
commit ca01f2af6c

View File

@@ -89,6 +89,7 @@ export default {
.then(({data: {result: {address}}}) => this.$http.post("/app/appwxsigninfo/sign", {lat, lng, address})) .then(({data: {result: {address}}}) => this.$http.post("/app/appwxsigninfo/sign", {lat, lng, address}))
.then(res => { .then(res => {
if (res?.code == 0) { if (res?.code == 0) {
this.getGridInfo()
this.linkTo("./signResult?id=" + res?.data.id) this.linkTo("./signResult?id=" + res?.data.id)
} }
}).catch(err => this.$u.toast(err)) }).catch(err => this.$u.toast(err))
@@ -100,7 +101,7 @@ export default {
}, },
onShow() { onShow() {
this.getGridInfo() this.getGridInfo()
} },
} }
</script> </script>