Commit f7077b39 by FE

click cart btn to login in course detial

parent 35ea2dea
...@@ -67,6 +67,8 @@ class BtnStatus extends Component { ...@@ -67,6 +67,8 @@ class BtnStatus extends Component {
} }
} else if (res.data.code === 15001) { } else if (res.data.code === 15001) {
history.replace('/shopcart'); history.replace('/shopcart');
} else if (res.data.code === 4030) {
history.replace('/passport');
} else { } else {
Toast.info(res.data.msg, 2); Toast.info(res.data.msg, 2);
} }
......
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