Browse Source

fix: 切换分页不查询学生数据问题

zhangjie 1 month ago
parent
commit
233d5ba766
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/render/views/ExamNumberCheck/index.vue

+ 2 - 2
src/render/views/ExamNumberCheck/index.vue

@@ -199,10 +199,10 @@ async function menuChange() {
 }
 
 // table
-function onChangeListPage(index: number) {
+async function onChangeListPage(index: number) {
   pageNumber.value = index;
   getList();
-  selectPage(0);
+  await onSelectStudent(0);
 }
 async function onSearch(data: AllCheckFilter) {
   await getAllStudents(data);