Commit 26613c7a by wangshuo

跳转问题

parent cf7f419c
......@@ -32,7 +32,7 @@ class BlessingGetPrize extends Component {
setTimeout(function(){
const {history, uid} = _this.props;
if(!uid) {
window.location.href = `${API.m}/passport`;
history.push('/passport');
}else{
http.get(`${API.home}/sys/lottery_result?id=${getParam('id')}`).then(res => {
const {code, msg, data} = res.data;
......
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