Commit 957e392e by 张晓玮

Merge branch 'v3.0' into 'zhangxw_dev_3.0'

V3.0

See merge request !94
2 parents bf4ef0e4 e4312bc5
...@@ -132,7 +132,8 @@ Page({ ...@@ -132,7 +132,8 @@ Page({
}, },
// 判断是否是从其他小程序跳转过来 // 判断是否是从其他小程序跳转过来
drectLogin(){ drectLogin(){
const params = wx.getLaunchOptionsSync() const params = wx.getEnterOptionsSync()
console.log(params);
if(params.referrerInfo.extraData&&params.referrerInfo.extraData.inType=='direct'){ if(params.referrerInfo.extraData&&params.referrerInfo.extraData.inType=='direct'){
const {phone,smscode} = params.referrerInfo.extraData const {phone,smscode} = params.referrerInfo.extraData
this.freeHandleLogin(phone,smscode) this.freeHandleLogin(phone,smscode)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!