浏览代码

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

wly 7 年之前
父节点
当前提交
28180c71ee
共有 1 个文件被更改,包括 1 次插入1 次删除
  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')