|
@@ -72,6 +72,7 @@
|
|
this.pageHide = true;
|
|
this.pageHide = true;
|
|
},
|
|
},
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
|
|
+ console.log('options==>',options)
|
|
this.getUserInfo();
|
|
this.getUserInfo();
|
|
// 测试下分支
|
|
// 测试下分支
|
|
if (typeof options.scene !== 'undefined') {
|
|
if (typeof options.scene !== 'undefined') {
|
|
@@ -246,6 +247,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
qrcode(options) {
|
|
qrcode(options) {
|
|
|
|
+ let _this = this;
|
|
this.$request({
|
|
this.$request({
|
|
url: this.$api.default.qrcode_parameter,
|
|
url: this.$api.default.qrcode_parameter,
|
|
data: {
|
|
data: {
|
|
@@ -265,7 +267,14 @@
|
|
this.$request({
|
|
this.$request({
|
|
url: this.$api.share.bind_parent
|
|
url: this.$api.share.bind_parent
|
|
}).then(res => {
|
|
}).then(res => {
|
|
- this.getUserInfo()
|
|
|
|
|
|
+ console.log('bind->',res)
|
|
|
|
+ if(res.error){
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: res.error,
|
|
|
|
+ icon: "none"
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ _this.shareInfo = res.userInfo.identity
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|