Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release 1.7.6 #2965

Merged
merged 4 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tdesign-react",
"purename": "tdesign",
"version": "1.7.5",
"version": "1.7.6",
"description": "TDesign Component for React",
"title": "tdesign-react",
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/_common
2 changes: 1 addition & 1 deletion src/table/hooks/useColumnResize.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export default function useColumnResize(params: {

if (!effectNextCol?.colKey) {
// 已经不存在最后一列,比如整个表格只有一列可以调整的场景,需要直接影响到表格本身的宽度
if (resizeLineParams.effectCol) newThWidthList[tmpCurrentCol?.colKey] -= moveDistance;
uyarn marked this conversation as resolved.
Show resolved Hide resolved
if (resizeLineParams.effectCol === 'next') newThWidthList[tmpCurrentCol?.colKey] -= moveDistance;
else newThWidthList[tmpCurrentCol?.colKey] += moveDistance;
newThWidthList.tableWidth = getTotalTableWidth(newThWidthList);
} else if (resizeLineParams.effectCol === 'next') {
Expand Down
Loading