Commit 282fb3ab by 杨北旺

特定商户号隐藏关注公众号入口

1 parent 020cb926
......@@ -284,11 +284,6 @@ export default {
let { nickName, logo } = this.$store.state;
this.userInfo.nickName = nickName;
this.userInfo.logo = logo;
// 特定商户号隐藏关注公众号入口
const merchantId =JSON.parse(sessionStorage.getItem("GL_WX_MERCHANTID"))
if(merchantId==44189923){
this.showFollowAccount = false
}
},
//设置用户信息--获取权益信息
setUserInfo(data) {
......@@ -359,7 +354,7 @@ export default {
});
},
isConcernFn() {
//检查是否关注公众号
//检查是否关注公众号
const ua = navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == "micromessenger") {
equity.checkConcern().then((res) => {
......@@ -369,6 +364,11 @@ export default {
} else {
this.showToast(message);
}
// 特定商户号隐藏关注公众号入口
const merchantId =JSON.parse(sessionStorage.getItem("GL_WX_MERCHANTID"))
if(merchantId==44189923){
this.showFollowAccount = false
}
});
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!