Commit 6ef6494f by wangshuo

水平地址跳转方式

parent 24f9d353
......@@ -52,7 +52,12 @@ class LevelTest extends Component {
startTest = () => {
const {history, isLogin, toLogin} = this.props;
if(isLogin) {
history.push('/levelTest/test');
// history.push('/levelTest/test');
// if(getParam('version')) {
window.location.href = `${API.m}/levelTest/test`;
// }else{
// history.push('/levelTest/test');
// }
}else{
toLogin();
}
......
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