Explorar o código

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

zhangjie hai 1 mes
pai
achega
233d5ba766
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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);