diff --git a/tdesign-component/lib/src/components/table/t_table.dart b/tdesign-component/lib/src/components/table/t_table.dart index 0e0581336..a86b9ff20 100644 --- a/tdesign-component/lib/src/components/table/t_table.dart +++ b/tdesign-component/lib/src/components/table/t_table.dart @@ -670,11 +670,10 @@ class TTableState extends State { } if (widget.height != null) { - // 有height时,整个数据区域做纵向滚动 dataBody = SingleChildScrollView( controller: _scrollController, physics: const BouncingScrollPhysics(), - child: dataRow, + child: IntrinsicHeight(child: dataRow), ); } else { dataBody = dataRow;