This commit is contained in:
wpf 2024-03-15 14:46:39 +08:00
commit 0470d887d0

View File

@ -99,7 +99,17 @@
// //
getQrcode() { getQrcode() {
qrcode().then(res => { qrcode().then(res => {
if (res.status == 200) {
this.qrcodeUrl = res.data.url; this.qrcodeUrl = res.data.url;
} else {
uni.showModal({
content: '暂未开通邀请码,需开通邀请码请联系管理员',
showCancel: false,
success: (res) => {
uni.navigateBack();
}
})
}
}).catch(err => { }).catch(err => {
uni.showModal({ uni.showModal({
content: '暂未开通邀请码,需开通邀请码请联系管理员', content: '暂未开通邀请码,需开通邀请码请联系管理员',