forked from Gitlink/forgeplus-react
修改文案
This commit is contained in:
parent
46415d167f
commit
aa2b7c322d
|
@ -38,10 +38,9 @@ function Data(props) {
|
|||
}
|
||||
}).then(result => {
|
||||
if (result) {
|
||||
if(result.data.message === "系统维护中"){
|
||||
if(result.data.code === 501){
|
||||
setOperateTime(result.data.data.operate_time);
|
||||
}
|
||||
if (Array.isArray(result.data.data)) {
|
||||
}else if (Array.isArray(result.data.data)) {
|
||||
setDataSource(result.data.data);
|
||||
setRelayCount(result.data.left_tasks_count);
|
||||
setLookResultUrl(result.data.view_base);
|
||||
|
@ -175,7 +174,7 @@ function Data(props) {
|
|||
{operateTime && <div className='operateBox mt25'>
|
||||
<img src={img} alt='' width={130}/>
|
||||
<div className='font-20 mt20 mb5'>系统维护中</div>
|
||||
<div className='font-17'>在<span className='timeBox'>{operateTime}小时后</span>代码溯源系统将恢复正常访问,给您带来不便,敬请谅解!</div>
|
||||
<div className='font-17'>预计<span className='timeBox'>{operateTime}小时后</span>代码溯源系统将恢复正常访问,给您带来不便,敬请谅解!</div>
|
||||
</div>}
|
||||
{
|
||||
!operateTime && dataSource && dataSource.length > 0 &&
|
||||
|
|
Loading…
Reference in New Issue