Browse Source

购物车 count === null

kulley 6 năm trước cách đây
mục cha
commit
62f78f0e8b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/pages/home/detail/index.js

+ 1 - 0
src/pages/home/detail/index.js

@@ -323,6 +323,7 @@ class SelectModal extends Component {
         // console.log('buyNowContent',buyNowContent)
         sessionStorage.setItem("buyNowContent",JSON.stringify(buyNowContent))
         sessionStorage.setItem("totalPrice",JSON.stringify(totalPrice))
+        sessionStorage.setItem("totalCount",JSON.stringify(this.state.selectedCount))
         this.props.changeDetailState('openSelect')
         this.props.history.push({
             pathname: '/cart/orders',