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) }