forked from Gitlink/forgeplus-react
未登录点击写点什么没有反应
This commit is contained in:
parent
68d1b69a09
commit
e38508ea59
|
@ -27,7 +27,7 @@ if (isDev) {
|
|||
}
|
||||
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
|
||||
window.location.search.indexOf('debug=s') !== -1 ? 'student' :
|
||||
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin'
|
||||
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || ''
|
||||
}
|
||||
function clearAllCookie() {
|
||||
cookie.remove('_educoder_session', { path: '/' });
|
||||
|
|
|
@ -14,7 +14,7 @@ export default (({ onSearch , current_user })=>{
|
|||
<i className="iconfont icon-bianjishijuan3x" style={{marginRight:"5px"}}></i>写点什么
|
||||
</Link>
|
||||
:
|
||||
<a className="greenbtn" to={"/login"} style={{width:"100%",marginTop:"20px"}}>
|
||||
<a className="greenbtn" href={"/login"} style={{width:"100%",marginTop:"20px"}}>
|
||||
<i className="iconfont icon-bianjishijuan3x" style={{marginRight:"5px"}}></i>写点什么
|
||||
</a>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue