@bit-sun/business-component 2.2.38 → 2.2.39

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/dist/index.esm.js CHANGED
@@ -22538,6 +22538,8 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
22538
22538
  className: 'north__west'
22539
22539
  }), /*#__PURE__*/React.createElement("table", {
22540
22540
  style: {
22541
+ tableLayout: 'auto',
22542
+ minWidth: '100px',
22541
22543
  width: "".concat(config.colHeaderWidth + 1, "px"),
22542
22544
  top: "".concat(config.colHeaderToTop, "px"),
22543
22545
  left: '0px',
package/dist/index.js CHANGED
@@ -22556,6 +22556,8 @@ var index$7 = /*#__PURE__*/React.forwardRef(function (props, ref) {
22556
22556
  className: 'north__west'
22557
22557
  }), /*#__PURE__*/React__default['default'].createElement("table", {
22558
22558
  style: {
22559
+ tableLayout: 'auto',
22560
+ minWidth: '100px',
22559
22561
  width: "".concat(config.colHeaderWidth + 1, "px"),
22560
22562
  top: "".concat(config.colHeaderToTop, "px"),
22561
22563
  left: '0px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "2.2.38",
3
+ "version": "2.2.39",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -167,13 +167,15 @@ export default forwardRef((props, ref) => {
167
167
  </table>
168
168
 
169
169
  {/* --------------------------------------纵向表头---------------------------------------- */}
170
- <table
170
+ <table
171
171
  style={{
172
- width: `${config.colHeaderWidth+1}px`,
173
- top: `${config.colHeaderToTop}px`,
172
+ tableLayout:'auto',
173
+ minWidth: '100px',
174
+ width: `${config.colHeaderWidth+1}px`,
175
+ top: `${config.colHeaderToTop}px`,
174
176
  left: '0px',
175
177
  position: 'sticky',
176
- }}
178
+ }}
177
179
  className={`${'south__west'} ${'editTable__block'} ${'table_border_style'}`}
178
180
  >
179
181
  <tbody>