Commit c2ec7be1 by chenshu

fix:修复

parent dfc0b2b7
...@@ -235,7 +235,7 @@ function ExaminationManager(props: any) { ...@@ -235,7 +235,7 @@ function ExaminationManager(props: any) {
<Menu.Item key="3" onClick={() => props.history.push(`${match.url}/copy/${item.examId}`)}>复制</Menu.Item> <Menu.Item key="3" onClick={() => props.history.push(`${match.url}/copy/${item.examId}`)}>复制</Menu.Item>
} }
{ {
ctx.xmState?.userPermission?.DelExam() && (moment().valueOf() + 30 * 60 * 1000 < item.examStartTime) && <Menu.Item key="4"> ctx.xmState?.userPermission?.DelExam() && ((moment().valueOf() + 30 * 60 * 1000 < item.examStartTime) || (moment().valueOf() > item.examEndTime)) && <Menu.Item key="4">
<span <span
onClick={() => { onClick={() => {
deleteExam(item) deleteExam(item)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment