Commit f88c18ba authored by Xuguangxing's avatar Xuguangxing

fix

parent cefd86bf
...@@ -74,6 +74,7 @@ import groupBuyApi from '@/api/groupBuy'; ...@@ -74,6 +74,7 @@ import groupBuyApi from '@/api/groupBuy';
// import Goods from '@/components/RecoGoods/RecoGoods.vue'; // import Goods from '@/components/RecoGoods/RecoGoods.vue';
import { isApp, isWxMp } from '@/service/validation.service'; import { isApp, isWxMp } from '@/service/validation.service';
import { EventBus } from '@/service/utils.service'; import { EventBus } from '@/service/utils.service';
import MpBridge from '@/service/mp';
export default { export default {
components: { components: {
// Goods, // Goods,
...@@ -123,6 +124,7 @@ export default { ...@@ -123,6 +124,7 @@ export default {
this.$router.replace({ path: '/orderList/0' }); this.$router.replace({ path: '/orderList/0' });
} else { } else {
if (isWxMp) { if (isWxMp) {
this.nativeBridge = new MpBridge();
this.nativeBridge.openNewUrl({ this.nativeBridge.openNewUrl({
newUrl: `/pages/pay/index?orderNo=${this.orderNo}` newUrl: `/pages/pay/index?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