3h1-ui 2.14.92 → 2.14.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.js +2 -1
- package/lib/index.js +2 -1
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -14711,7 +14711,8 @@ function handleColumnResize(propsRef, columns, wrapRef) {
|
|
|
14711
14711
|
[0, 0]
|
|
14712
14712
|
);
|
|
14713
14713
|
const length = columns.length;
|
|
14714
|
-
const
|
|
14714
|
+
const countWidth = tableWidth ? (tableWidth - sumWidth - selectWidth) / (length - sumLength) : 150;
|
|
14715
|
+
const colWidth = countWidth < 150 ? 150 : countWidth;
|
|
14715
14716
|
columns.forEach((item) => {
|
|
14716
14717
|
if (item.flag)
|
|
14717
14718
|
return;
|
package/lib/index.js
CHANGED
|
@@ -14735,7 +14735,8 @@ function handleColumnResize(propsRef, columns, wrapRef) {
|
|
|
14735
14735
|
[0, 0]
|
|
14736
14736
|
);
|
|
14737
14737
|
const length = columns.length;
|
|
14738
|
-
const
|
|
14738
|
+
const countWidth = tableWidth ? (tableWidth - sumWidth - selectWidth) / (length - sumLength) : 150;
|
|
14739
|
+
const colWidth = countWidth < 150 ? 150 : countWidth;
|
|
14739
14740
|
columns.forEach((item) => {
|
|
14740
14741
|
if (item.flag)
|
|
14741
14742
|
return;
|