去除微信环境判断

This commit is contained in:
xuxingjun
2025-01-02 15:03:33 +08:00
parent 2bd46c8c82
commit 07f280fc3c

View File

@@ -182,7 +182,7 @@ export default {
methods: {
// 初始化
async init() {
if (this.isWeixin) {
// if (this.isWeixin) {
window.localStorage.setItem('token', this.$route.query.token)
// let signInvalid = sessionStorage.getItem('signInvalid')
// let rs = await this.checkSignInvalid(signInvalid) // 微信分享验证校验值
@@ -199,10 +199,10 @@ export default {
}
this.faceAuthCount.enjoy = this.$route.query.faceAuthCountAppnt == undefined ? 0 : Number(this.$route.query.faceAuthCountAppnt)
this.faceAuthCount.weixin = this.$route.query.faceAuthCountWeixin == undefined ? 0 : Number(this.$route.query.faceAuthCountWeixin)
} else {
// } else {
// this.getAllowanceDetail() // 获取详情
// this.getSignInvalid() // 微信分享获取校验值
}
// }
this.getAllowanceDetail() // 获取详情
},
// 微信分享获取校验值--app初始化