Commit f1ed13a1 authored by beisir's avatar beisir

fix:提交编码测试

parent 4ea34b31
......@@ -149,11 +149,13 @@ export default {
activityId: shareInfo.activityId,
templateId: shareInfo.templateId,
templateDetailId: shareInfo.templateDetailId,
vccToken: '{token}'
vccToken: encodeURIComponent('{token}')
};
switch (type) {
case 0:
linkPath = `${config.localHost}/groupBuy/list?activityId=${shareInfo.activityId}&vccToken={token}`;
linkPath = `${config.localHost}/groupBuy/list?activityId=${
shareInfo.activityId
}&vccToken=${encodeURIComponent('{token}')}`;
break;
case 1:
case 2:
......@@ -180,7 +182,7 @@ export default {
// const linkParams = encodeURIComponent(JSON.stringify({ url: linkPath }));
// return `${linkPrve}&extraInfo=${linkParams}`;
// }
return encodeURIComponent(linkPath);
return linkPath;
},
shareOpenWechat() {
this.showShare = true;
......@@ -250,7 +252,6 @@ export default {
}
}
};
alert(link);
this.nativeBridge.showShareView(data);
},
tipDialogMessage() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment