mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 23:06:45 +08:00
提交二维码问题
This commit is contained in:
@@ -257,13 +257,10 @@ export default {
|
||||
},
|
||||
showQrimage(){
|
||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
let returnUrl='https://u.boe.com/mobile/pages/login/loading?returnUrl=/pages/resource/courseDetail?id='+this.courseInfo.id;
|
||||
// this.qrcode = this.webBaseUrl+'/mobile/pages/resource/courseDetail?id='+this.courseInfo.id;
|
||||
|
||||
let returnUrl=urlPre+'/mobile/pages/login/loading?returnUrl=/pages/study/courseStudy?id='+this.courseInfo.id;
|
||||
returnUrl=encodeURIComponent(returnUrl);
|
||||
//urlPre='https://u.boe.com/m?returnUrl=https://u.boe.com/mobile/pages/login/loading?returnUrl=';
|
||||
//this.qrcode = urlPre+'/pages/resource/courseDetail?id='+this.courseInfo.id;
|
||||
//console.log(this.qrcode,'qrcode');
|
||||
this.qrcode ='https://u.boe.com/m?returnUrl='+returnUrl;
|
||||
this.qrcode =urlPre+'/m?returnUrl='+returnUrl;
|
||||
this.$nextTick(() => {
|
||||
this.crateQrcode();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user