Browse Source

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

zhangjie 1 tháng trước cách đây
mục cha
commit
233d5ba766
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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);