Kaynağa Gözat

修改支付

Csy817 6 yıl önce
ebeveyn
işleme
51aab96365
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      src/pages/cart/empty/index.js
  2. 1 1
      src/pages/cart/pay/index.js

+ 1 - 1
src/pages/cart/empty/index.js

@@ -11,7 +11,7 @@ class Empty extends Component {
     }
 
     render() {
-        let contentHeight = window.innerHeight - 50
+        let contentHeight = window.innerHeight - 95
 
         return (
             <div className="cart-empty" style={{height: contentHeight}}>

+ 1 - 1
src/pages/cart/pay/index.js

@@ -98,7 +98,7 @@ class Pay extends Component {
                 })
                 .then((res) =>{
                     console.log('onBridgeReady res',res)
-                    $this.jsApiPay(res,id,update_order)
+                    $this.jsApiPay(res.data,id,update_order)
                     setTimeout(()=> {clicktag = 1}, 5000)
                 })
                 .catch((error) => {