|
|
@ -86,6 +86,8 @@ Scene({ |
|
|
}) |
|
|
}) |
|
|
getRelation().then(result => { |
|
|
getRelation().then(result => { |
|
|
if(util.isEmpty(result.data) || util.isEmpty(result.data.bizUserId)){ |
|
|
if(util.isEmpty(result.data) || util.isEmpty(result.data.bizUserId)){ |
|
|
|
|
|
this.dialog = this.dialog || this.selectComponent('#van-dialog') |
|
|
|
|
|
this.dialog.stopLoading() |
|
|
this.setData({ show: true }) |
|
|
this.setData({ show: true }) |
|
|
} |
|
|
} |
|
|
wx.hideLoading() |
|
|
wx.hideLoading() |
|
|
@ -272,10 +274,6 @@ Scene({ |
|
|
this.setData({ requesting: false }) |
|
|
this.setData({ requesting: false }) |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
onClose: function(){ |
|
|
|
|
|
this.setData({ show: false }) |
|
|
|
|
|
wx.navigateBack() |
|
|
|
|
|
}, |
|
|
|
|
|
onCodeing: function(){ |
|
|
onCodeing: function(){ |
|
|
if(util.isEmpty(this.data.code)){ |
|
|
if(util.isEmpty(this.data.code)){ |
|
|
util.showToast('请输入邀请码') |
|
|
util.showToast('请输入邀请码') |
|
|
|