This commit is contained in:
向明星 2024-08-09 21:49:48 +08:00
parent b34d956e87
commit a4069016ad
1 changed files with 13 additions and 1 deletions

View File

@ -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"}}>