forked from Gitlink/forgeplus-react
fix
This commit is contained in:
parent
b34d956e87
commit
a4069016ad
|
|
@ -10,6 +10,7 @@ import millestones from '../../forge/Issues/Img/millestones-big.png';
|
|||
import './milepost.scss';
|
||||
import './order.scss';
|
||||
import '../Issues/index.scss';
|
||||
import Attachments from "../Upload/attachment";
|
||||
|
||||
function MilepostDetail(props){
|
||||
const [ milepost, setMilepost] = useState(undefined);
|
||||
|
|
@ -29,6 +30,7 @@ function MilepostDetail(props){
|
|||
const [ page , setPage ] = useState(1);
|
||||
const [ total , setTotal ] = useState(undefined);
|
||||
const [ issuesCount, setIssueCount] = useState(undefined);
|
||||
const [fileList,setFileList] = useState([])
|
||||
|
||||
const [ chooseValue, setChooseValue ] = useState(undefined);
|
||||
|
||||
|
|
@ -187,7 +189,17 @@ function MilepostDetail(props){
|
|||
</div>
|
||||
</FlexAJ>}
|
||||
{/* 里程碑描述 */}
|
||||
<div className="color-grey-89 mt10">{milepost && milepost.description}</div>
|
||||
<div className="color-grey-89 mt10" style={{maxHeight:100,overflowY:'auto'}}>{milepost && milepost.description}</div>
|
||||
<div className="pd20">
|
||||
{milepost && milepost.attachmets && milepost.attachmets.length > 0 ? (
|
||||
<Attachments
|
||||
attachments={milepost.attachmets}
|
||||
showNotification={props.showNotification}
|
||||
/>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
</div>
|
||||
<div className="lists mt25">
|
||||
<div className="listheader">
|
||||
<div style={{display:"flex"}}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue