Parcourir la source

修复创建订单时,参数类型出错的问题

wly il y a 7 ans
Parent
commit
28180c71ee
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/case/ShopApp/src/components/OrderPage/OrederPage.jsx

+ 1 - 1
src/case/ShopApp/src/components/OrderPage/OrederPage.jsx

@@ -212,7 +212,7 @@ class OrderPage extends React.Component{
         dialog('¥'+this.state.sumPrice,'确认支付吗?').then(
             (e)=>{
                 //console.log('ok ',e)
-                this.toCreateOrder(['1'])
+                this.toCreateOrder('1')
             },(e)=>{
                 //console.log('fail ',e)
                 this.toCreateOrder('0')