Commit 06a850cb by wangshuo

返回code码转数字

parent 3b86c087
......@@ -145,8 +145,7 @@ class Order extends Component {
ischeck: this.state.useBalance,
}
http.post(`${API['base-api']}/pdd/m`, params).then(res => {
console.log(res);
if(res.data.errno === 200) {
if(Number(res.data.errno) === 200) {
sessionStorage.removeItem('orderUseCacheObj');
if (res.data.data.pay_jump === 1) {
this.props.history.push(`/togroup?id=${res.data.data.oid}`);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment