优化
This commit is contained in:
@@ -5,7 +5,7 @@ Page({
|
||||
},
|
||||
onLoad(options) {
|
||||
|
||||
console.log("列表条目的index==" + options.url)
|
||||
// 获取URL参数
|
||||
if(options.url){
|
||||
this.setData({
|
||||
url: decodeURIComponent(options.url) // 如果url后面还有参数需要转码一下否则会丢失
|
||||
|
||||
Reference in New Issue
Block a user