mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
二维码生成地址 的修改
This commit is contained in:
@@ -519,7 +519,7 @@ export default {
|
||||
this.params.sysType1 = '';
|
||||
this.params.sysType2 = '';
|
||||
this.params.sysType3 = '';
|
||||
|
||||
|
||||
this.searchData(true);
|
||||
},
|
||||
...mapActions({
|
||||
@@ -663,9 +663,13 @@ export default {
|
||||
this.qrcodeShow = true;
|
||||
|
||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
this.qrcode = urlPre+'/mobile/pages/resource/microDetail?id='+row.id;
|
||||
//动态的地址
|
||||
urlPre=urlPre+'/m?returnUrl='+urlPre+'/mobile/pages/login/loading?returnUrl=';
|
||||
//固定的地址
|
||||
urlPre='https://u.boe.com/m?returnUrl=https://u.boe.com/mobile/pages/login/loading?returnUrl=';
|
||||
this.qrcode = urlPre+'/pages/resource/microDetail?id='+row.id;
|
||||
if(row.type==20){
|
||||
this.qrcode = urlPre+'/mobile/pages/resource/courseDetail?id='+row.id;
|
||||
this.qrcode = urlPre+'/pages/resource/courseDetail?id='+row.id;
|
||||
}
|
||||
|
||||
// 使用$nextTick确保数据渲染
|
||||
|
||||
Reference in New Issue
Block a user