mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
考试二维码,returnUrl 编码处理
This commit is contained in:
@@ -1054,7 +1054,8 @@ export default {
|
||||
//正式环境直接根据域名计算
|
||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
//this.qrcode = urlPre+'/mobile/pages/exam/exam?id=' + row.id
|
||||
this.qrcode =urlPre+'/m?returnUrl='+urlPre+'/mobile/pages/login/loading?returnUrl='+urlPre+'/mobile/pages/exam/exam?id=' + row.id
|
||||
let returnUrl=encodeURIComponent(urlPre+'/mobile/pages/login/loading?returnUrl=/pages/exam/exam?id=' + row.id);
|
||||
this.qrcode =urlPre+'/m?returnUrl='+returnUrl;
|
||||
//通过配置来写
|
||||
//let urlPre=process.env.VUE_APP_BOE_MOBILE_URL;
|
||||
//this.qrcode = urlPre+'/mobile/pages/exam/exam?id=' + row.id
|
||||
|
||||
Reference in New Issue
Block a user