From 8cd130562df9a035b173608bffba20c352ff0d38 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Mon, 3 Apr 2023 16:35:48 +0800 Subject: [PATCH] --fix bug --- src/components/common/BaseTable.vue | 1 - src/components/student/CommonStudent.vue | 17 +++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/components/common/BaseTable.vue b/src/components/common/BaseTable.vue index 504c73bc..8bff27dc 100644 --- a/src/components/common/BaseTable.vue +++ b/src/components/common/BaseTable.vue @@ -99,7 +99,6 @@ const pagination = computed(() => ({ })); const changePagination = (e) => { params.value[props.pageKey] = e; - emit("update:params", { ...params.value }); nextTick(onFetch); }; diff --git a/src/components/student/CommonStudent.vue b/src/components/student/CommonStudent.vue index 01c17440..1128dbff 100644 --- a/src/components/student/CommonStudent.vue +++ b/src/components/student/CommonStudent.vue @@ -33,7 +33,7 @@