修改登录获取推荐人

master
xcw 2023-02-22 10:59:42 +08:00
parent bd8167724c
commit 685cd68177
2 changed files with 5 additions and 2 deletions

View File

@ -61,6 +61,7 @@
onLoad() { onLoad() {
// //
this.bindGetUserInfo('enter'); this.bindGetUserInfo('enter');
console.log(uni.getStorageSync('invite_code'))
}, },
methods: { methods: {
// //

View File

@ -98,7 +98,6 @@
this.$store.commit('setAutoplay',true); this.$store.commit('setAutoplay',true);
// //
this.isVideoEv(); this.isVideoEv();
console.log(op,'aaaaa')
}, },
onHide() { onHide() {
// banner // banner
@ -113,7 +112,6 @@
  return shareObj;   return shareObj;
}, },
onLoad(op) { onLoad(op) {
// unescape("http%3A//www.baidu.com%3Fname%3Dzhang@xiao@jie%26order%3D1") // unescape("http%3A//www.baidu.com%3Fname%3Dzhang@xiao@jie%26order%3D1")
// decodeURIComponent("http%3A%2F%2Fwww.baidu.com%3Fname%3Dzhang%40xiao%40jie%26order%3D1") // decodeURIComponent("http%3A%2F%2Fwww.baidu.com%3Fname%3Dzhang%40xiao%40jie%26order%3D1")
if(op.q!=undefined){ if(op.q!=undefined){
@ -123,6 +121,10 @@
this.getCourseCate(); this.getCourseCate();
// banner // banner
this.getBanner(); this.getBanner();
console.log(op)
if(op) {
uni.setStorageSync('invite_code',op.invite_code);
}
}, },
methods: { methods: {
// //