切换页面刷新列表

This commit is contained in:
xianyi
2026-01-09 11:38:21 +08:00
parent f9a4e1dc1f
commit ce4cdc4ed2

View File

@@ -156,7 +156,10 @@ export const ExamPage = () => {
<ExamModal <ExamModal
client={selectedExamClient} client={selectedExamClient}
tab={examPanelTab} tab={examPanelTab}
onTabChange={setExamPanelTab} onTabChange={(tab) => {
setExamPanelTab(tab);
setRefreshSeq((v) => v + 1);
}}
onClose={() => { onClose={() => {
setExamModalOpen(false); setExamModalOpen(false);
setRefreshSeq((v) => v + 1); setRefreshSeq((v) => v + 1);