XiaBx 3 năm trước cách đây
mục cha
commit
57bb029398
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 1 1
      src/App.vue
  2. 3 3
      src/api/index.js

+ 1 - 1
src/App.vue

@@ -75,7 +75,7 @@ export default {
       "BookLimitFree",
       "Yun"
     ];
-    console.log(11111111111111111)
+
     //获取是否加桌过
     const { is_add_desk } = window.options;
     if (

+ 3 - 3
src/api/index.js

@@ -377,9 +377,9 @@ export function recharge({ product_id, bid, cid, use_coupon }) {
       pay_redirect_url: encodeURIComponent(urlFormat(redirect))
     }
   };
-  window.open(urlFormat(href),'微信支付',true)
-  //a.href = urlFormat(href);
-  //a.click();
+  //window.open(urlFormat(href),'微信支付',true)
+  a.href = urlFormat(href);
+  a.click();
 }
 
 //单本消费记录