小程序分享escape()

    技术2022-07-10  136

    分享 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, }; },
    Processed: 0.009, SQL: 9