Commit 5c6d3c66 authored by Xuguangxing's avatar Xuguangxing

feat: 去掉订单来源,原因:入口太多暂时无法覆盖

parent 83be6c24
...@@ -106,7 +106,7 @@ const mutations = { ...@@ -106,7 +106,7 @@ const mutations = {
const [res] = await groupBuy.getScheme({ const [res] = await groupBuy.getScheme({
miniUrl: 'pages/groupbuy/webview', miniUrl: 'pages/groupbuy/webview',
// miniUrl: 'pages/product/goodDetail', // miniUrl: 'pages/product/goodDetail',
params: `from=groupBuy&url=${encodeURIComponent( params: `url=${encodeURIComponent(
JSON.stringify(paramsParentheses(pointer) + '&vccToken={token}') JSON.stringify(paramsParentheses(pointer) + '&vccToken={token}')
)}` )}`
}); });
......
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
cookies.set('skuID', params.skuList[0].skuNo); cookies.set('skuID', params.skuList[0].skuNo);
if (isWxMp) { if (isWxMp) {
this.nativeBridge.openNewUrl({ this.nativeBridge.openNewUrl({
newUrl: `/pages/pay/index?orderNo=${data.orderNo}&from=groupbuy` newUrl: `/pages/pay/index?orderNo=${data.orderNo}`
}); });
} else if (isApp) { } else if (isApp) {
this.$router.replace({ path: `/pay?orderNo=${data.orderNo}` }); this.$router.replace({ path: `/pay?orderNo=${data.orderNo}` });
......
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
this.$router.push(`/pay?orderNo=${skuInfo.orderNo}`); this.$router.push(`/pay?orderNo=${skuInfo.orderNo}`);
if (isWxMp) { if (isWxMp) {
this.nativeBridge.openNewUrl({ this.nativeBridge.openNewUrl({
newUrl: `/pages/pay/index?orderNo=${skuInfo.orderNo}&from=groupbuy` newUrl: `/pages/pay/index?orderNo=${skuInfo.orderNo}`
}); });
} else if (isApp) { } else if (isApp) {
this.$router.push({ path: `/pay?orderNo=${skuInfo.orderNo}` }); this.$router.push({ path: `/pay?orderNo=${skuInfo.orderNo}` });
......
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
} else { } else {
if (isWxMp) { if (isWxMp) {
this.nativeBridge.openNewUrl({ this.nativeBridge.openNewUrl({
newUrl: `/pages/pay/index?orderNo=${this.orderNo}&from=groupbuy` newUrl: `/pages/pay/index?orderNo=${this.orderNo}`
}); });
} else if (isApp) { } else if (isApp) {
this.$router.push({ path: `/pay?orderNo=${this.orderNo}` }); this.$router.push({ path: `/pay?orderNo=${this.orderNo}` });
......
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