Commit 014e66f2 authored by beisir's avatar beisir

fix:h5开放标签跳转

parent e6389f69
......@@ -30,6 +30,7 @@
import wx from 'weixin-js-sdk';
import groupBuy from '@/api/groupBuy';
import config from '@/config';
import { paramsParentheses } from '@/service/utils.service';
export default {
name: 'Weapp',
props: {
......@@ -50,7 +51,7 @@ export default {
computed: {
newJumpUrl() {
const jumpUrl = this.jumpUrl;
const linkPath = window.location.href;
const linkPath = paramsParentheses(this) + encodeURIComponent('&vccToken={token}');
return `${jumpUrl}?url=${encodeURIComponent(JSON.stringify(linkPath))}`;
}
},
......
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