Explorar o código

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

wly %!s(int64=7) %!d(string=hai) anos
pai
achega
28180c71ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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')