iter(g140): 表格支持整行点击

This commit is contained in:
HIsheR
2026-10-26 15:35:03 +08:00
parent 2a7fdcd9d7
commit e40cd2c1fd
8 changed files with 47 additions and 7 deletions
+1
View File
@@ -1214,6 +1214,7 @@ const content = h(
],
pageSize: 5,
selected: picked,
onRowClick: (row) => toast.info(`打开 ${row.name} 的详情`), // 整行可点:Tab 进入 + Enter 等价
}), h(
'div',
{ class: 'row' },