分享 escape() 函数可对字符串进行编码,这样就可以在所有的计算机上读取该字符串。
onShareAppMessage
: function(res
) {
var a
= this;
var pid
=a
.data
.pid
;
var t
= "../car_list/carlist?carlist_&pid="+pid
;
var i
= "/beauty_shop/pages/base/base?&share=" + (t
= escape(t
));
console
.log(i
);
return {
title
:"喊你一起剧本杀",
path
: i
,
};
},
转载请注明原文地址:https://ipadbbs.8miu.com/read-5806.html