glcc帮助中心隐藏sidebar
This commit is contained in:
parent
fab7510783
commit
d459bea3ff
|
|
@ -329,7 +329,7 @@ class App extends Component {
|
|||
<MuiThemeProvider theme={theme}>
|
||||
<LoginDialog {...this.props} {...this.state} Modifyloginvalue={() => this.Modifyloginvalue()}></LoginDialog>
|
||||
{/* <GlccModal /> */}
|
||||
{!pathName || (pathName && pathName.indexOf("glcc") === -1) ? <SiderBar {...this.props}/> : <SiderBarHelp/>}
|
||||
{!pathName || (pathName && pathName.toLowerCase().indexOf("glcc") === -1) ? <SiderBar {...this.props}/> : <SiderBarHelp/>}
|
||||
{/* <Router> */}
|
||||
<Switch>
|
||||
{/* wiki预览 */}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ function Help(props) {
|
|||
projectId: locationStatus ? '1403908' : '546103'
|
||||
}).then(res => {
|
||||
if (res && res.message === "200" && Array.isArray(res.data)) {
|
||||
setFileArrInit(res.data);
|
||||
setFileArrInit(res.data.filter(item=>item.name !== "_Sidebar"));
|
||||
if (res.data.length) {
|
||||
setCheckItem(res.data[0]);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
border:1px solid;
|
||||
border-color:#ffffff;
|
||||
margin-right: 40px;
|
||||
min-height: 450px;
|
||||
}
|
||||
.wiki_title{
|
||||
cursor: pointer;
|
||||
|
|
|
|||
Loading…
Reference in New Issue