forked from Gitlink/forgeplus-react
后台管理项目相关菜单bug修复
This commit is contained in:
parent
bc37559e6f
commit
6c55f5b039
|
@ -146,7 +146,7 @@ const Managements = Loadable({
|
|||
// })
|
||||
|
||||
// 此处仅维护前端可能的一级路由,不用进行项目或者组织判断的字段。
|
||||
const keyWord = ["explore", "settings", "setting", "mulan", "wiki", "issues", "setting", "trending", "code", "projects", "pulls", "mine", "login", "register", "email", "export", "nopage", "404", "403", "500", "501", "search", "organize", "login", "register", "resetPassword", "aboutus","educoder","task","notice","managements","expert",];
|
||||
const keyWord = ["explore", "settings", "setting", "mulan", "wiki", "issues", "setting", "trending", "code", "projects", "pulls", "mine", "login", "register", "email", "export", "nopage", "404", "403", "500", "501", "search", "organize", "login", "register", "resetPassword", "aboutus","educoder","task","notice","managements","expert","administration",];
|
||||
|
||||
class App extends Component {
|
||||
constructor(props) {
|
||||
|
@ -403,9 +403,11 @@ class App extends Component {
|
|||
path="/register"
|
||||
render={(props) =><LoginRegisterPage {...this.props} {...props}/>}
|
||||
></Route>
|
||||
{/*管理页面*/}
|
||||
|
||||
{/*管理页面 三个路由,分别对应本环境管理、原测试ruby模板管理、原项目管理*/}
|
||||
<Route path="/managements" component={Managements} />
|
||||
<Route path="/admin" component={Managements} />
|
||||
<Route path="/administration" component={Managements} />
|
||||
|
||||
|
||||
{/*403*/}
|
||||
|
|
|
@ -127,6 +127,8 @@ export default (props) => {
|
|||
}
|
||||
})
|
||||
}, [history]);
|
||||
|
||||
console.log(acitve);
|
||||
return (
|
||||
<Fragment>
|
||||
<div className="layouts">
|
||||
|
|
|
@ -136,6 +136,7 @@ export default Form.create()(({ form}) => {
|
|||
className="column-select"
|
||||
>
|
||||
<Option key={'self'}>8000环境</Option>
|
||||
<Option key={'current_main_site_url'}>8000项目管理</Option>
|
||||
<Option key={'main_web_site_url'}>8001环境</Option>
|
||||
</Select>,
|
||||
)}
|
||||
|
|
|
@ -13,4 +13,8 @@
|
|||
// border-color:#2a3ee9;
|
||||
// opacity: 0.75;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
.column-select .ant-select-selection{
|
||||
width: 193px;
|
||||
}
|
Loading…
Reference in New Issue