Просмотр исходного кода

商城支付兼容H5 去掉分享

jiangfeng 5 лет назад
Родитель
Сommit
bf030dcaed
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      mallApp/src/pages/pay/index.vue

+ 4 - 2
mallApp/src/pages/pay/index.vue

@@ -126,7 +126,9 @@
 			...mapGetters({ shopUser: 'getShopUser' })
 		},
 		onLoad(option) {
-			// this.specialInit()
+            // #ifdef H5
+			this.specialInit()
+            // #endif
 		},
 		mounted() {},
 		methods: {
@@ -170,7 +172,7 @@
 						pagePath: `/pages/pay/index?account=${res.shop.id}&store=0&sourceType=3`
 						// #endif
 					}
-					this.jweixinFn(shareParams)
+					// this.jweixinFn(shareParams)
 				})
 			},
 			_pay() {