jufubao-base 1.0.267-beta101 → 1.0.267-beta3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.267-beta101",
3
+ "version": "1.0.267-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -531,7 +531,6 @@
531
531
  this.jwxSDK.chooseWXPay({
532
532
  ...otherData,
533
533
  success: (res) => {
534
- this.refresh = false;
535
534
  this.$xdLog.setARMSInfo({ options: this.options, res }, 'pay_success');
536
535
  uni.showToast({
537
536
  title: "支付成功",
@@ -560,7 +559,6 @@
560
559
  wx.requestPayment({
561
560
  ...paySignData,
562
561
  success: (res) => {
563
- this.refresh = false;
564
562
  this.$xdLog.setARMSInfo({ options: this.options, res }, 'pay_success');
565
563
  uni.showToast({
566
564
  title: "支付成功",
@@ -744,6 +742,7 @@
744
742
  },
745
743
  })
746
744
  .then((res) => {
745
+ this.refresh = false;
747
746
  this.$xdUniHelper.redirectTo({
748
747
  url: this.successPath + `?order_id=${main_order_id}`
749
748
  });
@@ -605,6 +605,11 @@ export default {
605
605
  },
606
606
 
607
607
  onJfbLoad(options) {
608
+ // T3634 通过二维码进入体验模式
609
+ if(options.preview_code || options.experience_code){
610
+ // this.previewAccout = options.preview_code || options.experience_code;
611
+ this.dialogPreview = true;
612
+ }
608
613
  if(options['x-share']){
609
614
  let decodeParams = Base64.decode(options['x-share']);
610
615
  try{