From 087cbf6cf0277d1dd4fb0d425d9da5c39d83295c Mon Sep 17 00:00:00 2001 From: zhouyun1 Date: Fri, 1 Sep 2023 19:05:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20hiui=E4=B8=AD=E5=8E=BB=E6=8E=89Res?= =?UTF-8?q?izeBox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/hiui/package.json | 1 - packages/ui/hiui/src/index.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/ui/hiui/package.json b/packages/ui/hiui/package.json index b6f4be8ee..67d208977 100644 --- a/packages/ui/hiui/package.json +++ b/packages/ui/hiui/package.json @@ -87,7 +87,6 @@ "@hi-ui/provider": "^4.0.5", "@hi-ui/radio": "^4.0.4", "@hi-ui/rating": "^4.0.5", - "@hi-ui/resize-box": "^4.0.0", "@hi-ui/result": "^4.0.4", "@hi-ui/scrollbar": "^4.0.1", "@hi-ui/search": "^4.0.8", diff --git a/packages/ui/hiui/src/index.ts b/packages/ui/hiui/src/index.ts index 9b5168556..84635c55c 100644 --- a/packages/ui/hiui/src/index.ts +++ b/packages/ui/hiui/src/index.ts @@ -139,8 +139,8 @@ export { default as Radio } from '@hi-ui/radio' export * from '@hi-ui/rating' export { default as Rating } from '@hi-ui/rating' -export * from '@hi-ui/resize-box' -export { default as ResizeBox } from '@hi-ui/resize-box' +// export * from '@hi-ui/resize-box' +// export { default as ResizeBox } from '@hi-ui/resize-box' export * from '@hi-ui/result' export { default as Result } from '@hi-ui/result' From 42050a0676b3b05c8385bc125d634d9b2aa4d772 Mon Sep 17 00:00:00 2001 From: zhouyun1 Date: Mon, 4 Sep 2023 09:47:01 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(hiui):=20hiui=E5=90=88=E5=8C=85?= =?UTF-8?q?=E4=B8=AD=E6=9A=82=E6=97=B6=E5=8E=BB=E6=8E=89resize-box?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/table/src/hooks/use-col-width.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/table/src/hooks/use-col-width.ts b/packages/ui/table/src/hooks/use-col-width.ts index ef65c8fc7..e6ee46307 100644 --- a/packages/ui/table/src/hooks/use-col-width.ts +++ b/packages/ui/table/src/hooks/use-col-width.ts @@ -14,7 +14,7 @@ export const useColWidth = ({ columns: TableColumnItem[] virtual?: boolean }) => { - const measureRowElementRef = React.useRef(null) + const measureRowElementRef = React.useRef(null) const [colWidths, setColWidths] = React.useState(() => { return getGroupItemWidth(columns) })