This commit is contained in:
parent
3b3cc7f639
commit
73ca563a0f
|
@ -44,15 +44,13 @@ const Infos = styled.div`
|
|||
`;
|
||||
//提交详情页
|
||||
export default (props) => {
|
||||
console.log(props);
|
||||
const {match , history } = props;
|
||||
const [data, setData] = useState({undefined});
|
||||
const [commit, setCommit] = useState(undefined);
|
||||
const [parents, setParents] = useState(undefined);
|
||||
const [committer, setCommitter] = useState(undefined);
|
||||
const [isSpin, setIsSpin] = useState(true);
|
||||
const { sha , projectsId, owner, branchName } = match && match.params;
|
||||
console.log(sha);
|
||||
const { sha , projectsId, owner, branchName } = match.params;
|
||||
useEffect(() => {
|
||||
if (projectsId && owner && sha) {
|
||||
const url = `/${owner}/${projectsId}/commits/${sha}.json`;
|
||||
|
|
|
@ -243,7 +243,7 @@
|
|||
padding-right: 40px;
|
||||
box-sizing: border-box;
|
||||
.ant-select-auto-complete.ant-select .ant-input:hover,.ant-input:hover {
|
||||
border-color: rgba(153, 153, 153, 0.5);;
|
||||
border-color: rgba(153, 153, 153, 0.8);
|
||||
}
|
||||
}
|
||||
.versionTips{
|
||||
|
|
Loading…
Reference in New Issue