- 将严格相等运算符更改为相等运算符以匹配实际数据类型 - 确保微信登录跳转链接构建正确 - 避免因类型不匹配导致的页面跳转失败问题
@@ -17,7 +17,7 @@ const urlTwo = "https%3A%2F%2Fcjxmall2.dnzc.vip%2F";
},
onLoad(opt){
let type = opt.type;
- if(opt.pointType === 2){
+ if(opt.pointType == 2){
this.src = "https://d.dnzc.vip/cache/wx?appid="+appId+"&redirect_uri="+urlTwo+"%2Fpages%2Fusers%2Fwechat_login%2Findex%3Fstate="+type+"&response_type=code&scope=snsapi_userinfo&connect_redirect=1#wechat_redirect"
return;
}