✨ 完成实验部分功能
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import type { TableProps, TableRowData } from 'tdesign-vue-next';
|
||||
import type {
|
||||
TableProps,
|
||||
TableRowData,
|
||||
RowEventContext,
|
||||
} from 'tdesign-vue-next';
|
||||
|
||||
const emit = defineEmits(['pageChange', 'onRowClick']);
|
||||
|
||||
@@ -13,7 +17,7 @@
|
||||
console.log(pageInfo);
|
||||
emit('pageChange', pageInfo);
|
||||
}
|
||||
function onRowClick(x: any) {
|
||||
function onRowClick(x: RowEventContext<TableRowData>) {
|
||||
emit('onRowClick', x);
|
||||
}
|
||||
function onSelectChange() {
|
||||
|
||||
Reference in New Issue
Block a user