完成实验部分功能

This commit is contained in:
li-chx
2025-05-03 19:34:43 +08:00
parent 15c0a1de0e
commit eae8781eaa
21 changed files with 1693 additions and 215 deletions
+6 -2
View File
@@ -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() {