Commit e62cbec5 by zhanghaozhe

Merge branch 'ai-test' into dev

parents b590f27a d9efff1e
......@@ -9,7 +9,10 @@ class HeaderBar extends Component {
}
goBack = () => {
const {state} = this.props.location
const {state, hash} = this.props.location
if(hash.includes('goback')){
window.history.go(-1)
}
if(browser.isWeixin && getParam('code') && getParam('state')){
window.history.go(-2)
}
......
......@@ -266,7 +266,7 @@ class Scores extends Component {
</td>
<td>
{
item.prize_url ? <a href={item.prize_url}>{item.prize}</a> : item.prize
item.prize_url ? <a href={`${item.prize_url}#goback`}>{item.prize}</a> : item.prize
}
</td>
</tr>
......
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