Explorar el Código

购物车 count === null

kulley hace 6 años
padre
commit
62f78f0e8b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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',