mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 18:06:47 +08:00
提交
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
},
|
||||
onLoad(options) {
|
||||
//console.log(options.id)
|
||||
this.url = options.url
|
||||
let decodeUrl=decodeURIComponent(options.url);
|
||||
console.log('接收后解码后:'+item.url)
|
||||
this.url = decodeUrl;
|
||||
},
|
||||
mounted(){
|
||||
// let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
|
||||
@@ -71,8 +71,11 @@
|
||||
// 测评跳转详情
|
||||
myAssessdetail(item){
|
||||
//console.log(item.id)
|
||||
console.log('编码前:'+item.url)
|
||||
let encodeUrl=encodeURIComponent(item.url);
|
||||
console.log('编码后:'+encodeUrl)
|
||||
uni.navigateTo({
|
||||
url: '/pages/my/myAssdetail?url='+item.url
|
||||
url: '/pages/my/myAssdetail?url='+encodeUrl
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user