Commit 63f38f0d authored by 俞嘉婷's avatar 俞嘉婷

feat: 微信端(通过下线二维码进入) 登录弹窗不需要隐私协议

parent 70181fab
......@@ -8,7 +8,7 @@ import { ModalCtrl } from '@/core/ctrls/ModalCtrl';
import { Button, Toast } from '@grace/ui';
import { _asyncThrottle, getUrlParam } from '@/utils/utils';
import LightSDK from 'light-sdk/dist/index.umd'
import { CHANNEL } from '@/AppTools';
import { CHANNEL, isWeiXin } from '@/AppTools';
import Privacypop from '../privacypop/privacypop';
/* 电话号码验证规则 **/
......@@ -34,7 +34,10 @@ class Loginpop extends React.Component {
}
componentDidMount() {
this.queryAgreement()
// 微信端(通过下线二维码进入) 不需要隐私协议
if (!isWeiXin()) {
this.queryAgreement()
}
if (CFG.channel === CHANNEL.HXLC) {
this.getUserInfo()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment