From d406190d1e81e2d27c6af9c3ac2cc023326ea475 Mon Sep 17 00:00:00 2001 From: 3octaves <873551943@qq.com> Date: Fri, 25 Oct 2024 09:32:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):=20=E6=9D=83=E9=99=90=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E9=A1=B5=20#6905?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../result/components/table/DomainTable.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dbm-ui/frontend/src/views/permission-retrieve/components/result/components/table/DomainTable.vue b/dbm-ui/frontend/src/views/permission-retrieve/components/result/components/table/DomainTable.vue index 3dd38c92a5..3486791048 100644 --- a/dbm-ui/frontend/src/views/permission-retrieve/components/result/components/table/DomainTable.vue +++ b/dbm-ui/frontend/src/views/permission-retrieve/components/result/components/table/DomainTable.vue @@ -43,8 +43,8 @@ } interface Emits { - (e: 'page-limit-change'): void; - (e: 'page-value-change'): void; + (e: 'page-limit-change', value: number): void; + (e: 'page-value-change', value: number): void; } const props = defineProps(); @@ -194,11 +194,11 @@ return []; }); - const handleTableLimitChange = () => { - emits('page-limit-change') + const handleTableLimitChange = (value: number) => { + emits('page-limit-change', value) } - const handleTableValueChange = () => { - emits('page-value-change') + const handleTableValueChange = (value: number) => { + emits('page-value-change', value) }