feature update
- add sidebar breadcrumb - do not show dot when latest_post_id is not set
This commit is contained in:
12
src/App.js
12
src/App.js
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user