Merge pull request '个人信息资料提示+新的需求' (#41) from caishi/forgeplus-react:feature_router into feature_router

This commit is contained in:
jasder 2021-09-03 13:50:38 +08:00
commit 47ecda06ca
3 changed files with 10 additions and 2 deletions

View File

@ -11,6 +11,7 @@ function Modals({title,children,btn,onCancel,visible}) {
width={"520px"} width={"520px"}
className="deleteBox" className="deleteBox"
footer={btn} footer={btn}
centered={true}
> >
{children} {children}
</Modal> </Modal>

View File

@ -65,6 +65,9 @@
background-color: #466AFF; background-color: #466AFF;
color: #fff; color: #fff;
border-color: #466AFF; border-color: #466AFF;
&:hover,&:focus,&:active{
background-color: rgba(70,106,255,0.85);
}
} }
} }
} }

View File

@ -210,8 +210,12 @@ function CoderDepot(props){
let checkvalue = turnbar(b); let checkvalue = turnbar(b);
return ( return (
<Menu> <Menu>
<Menu.Item><a onClick={()=>urlLink(`/${owner}/${projectsId}/${checkvalue}/uploadfile${treeValue === undefined ? "" : `/${treeValue}`}`)}>上传文件</a></Menu.Item> <Menu.Item>
<Menu.Item><a onClick={()=>urlLink(`/${owner}/${projectsId}/${checkvalue}/newfile${treeValue === undefined ? "" : `/${treeValue}`}`)}>新建文件</a></Menu.Item> <CheckProfile {...props} sureFunc={()=>urlLink(`/${owner}/${projectsId}/${checkvalue}/uploadfile${treeValue === undefined ? "" : `/${treeValue}`}`)}>上传文件</CheckProfile>
</Menu.Item>
<Menu.Item>
<CheckProfile {...props} sureFunc={()=>urlLink(`/${owner}/${projectsId}/${checkvalue}/newfile${treeValue === undefined ? "" : `/${treeValue}`}`)}>新建文件</CheckProfile>
</Menu.Item>
</Menu> </Menu>
) )
} }