feature update

- add sidebar breadcrumb
- do not show dot when latest_post_id is not set
This commit is contained in:
xmcp
2019-04-17 11:45:51 +08:00
parent 854c3a0306
commit fa5e328827
3 changed files with 41 additions and 27 deletions

View File

@@ -8,7 +8,7 @@ import {TokenCtx,ISOP_APPKEY} from './UserAction';
import ImasuguApp from './imasugu/src/App';
function DeprecatedAlert(props) {
if(['pkuhelper.pku.edu.cn','127.0.0.1','localhostx'].indexOf(document.domain)===-1)
if(['pkuhelper.pku.edu.cn','127.0.0.1','localhost'].indexOf(document.domain)===-1)
return (
<div className="flow-item-row">
<div className="box box-tip aux-margin">
@@ -31,16 +31,6 @@ function DeprecatedAlert(props) {
</div>
</div>
);
if(props.token && props.token.startsWith('isop_'))
return (
<div className="flow-item-row">
<div className="box box-tip box-danger aux-margin">
<p>树洞于2019年3月更新登录方式原先登录已失效</p>
<p>请按右上角的按钮注销然后重新登录</p>
<p><b>好消息更新后支持客户端和网页同时使用了</b></p>
</div>
</div>
);
return null;
}