diff --git a/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx b/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx index 910e18e..2b64dde 100644 --- a/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx +++ b/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx @@ -202,9 +202,17 @@ const ExamListPage = ({ history }: { history: any }) => { // 编辑 const handleEdit = (examId: number) => { - history.push({ - pathname: '/exam-edit', - state: { examId }, + Modal.confirm({ + title: `确认修改`, + content: `是否修改试卷?`, + onOk: () => { + history.push({ + pathname: '/exam-edit', + state: { examId }, + }); + }, + onCancel: () => { + }, }); };