@vtx/modals2 5.0.39 → 5.0.40

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.
@@ -228,10 +228,12 @@ var Detail = function Detail(_ref) {
228
228
  width: '100%'
229
229
  }
230
230
  })
231
- }), showType === 'list' && /*#__PURE__*/_jsx(VmTable, _objectSpread({
231
+ }), showType === 'list' && /*#__PURE__*/_jsx(VmTable, _objectSpread(_objectSpread({
232
232
  columns: columns,
233
233
  rowKey: "id"
234
- }, tableProps))]
234
+ }, tableProps), {}, {
235
+ indexFixed: true
236
+ }))]
235
237
  });
236
238
  };
237
239
  export default Detail;
@@ -119,10 +119,12 @@ var Detail = function Detail(_ref) {
119
119
  };
120
120
  return /*#__PURE__*/_jsx(VmWrapper, {
121
121
  title: '收运明细',
122
- children: /*#__PURE__*/_jsx(VmTable, _objectSpread({
122
+ children: /*#__PURE__*/_jsx(VmTable, _objectSpread(_objectSpread({
123
123
  columns: columns,
124
124
  rowKey: "id"
125
- }, tableProps))
125
+ }, tableProps), {}, {
126
+ indexFixed: true
127
+ }))
126
128
  });
127
129
  };
128
130
  export default Detail;
@@ -120,7 +120,8 @@ var CarList = function CarList(_ref) {
120
120
  },
121
121
  children: /*#__PURE__*/_jsx(VmWrapper, {
122
122
  children: /*#__PURE__*/_jsx(VmTable, _objectSpread(_objectSpread({}, tableProps), {}, {
123
- columns: columns
123
+ columns: columns,
124
+ indexFixed: true
124
125
  }))
125
126
  })
126
127
  })]
@@ -141,6 +141,7 @@ var Work = function Work(props) {
141
141
  total: (dataSource === null || dataSource === void 0 ? void 0 : dataSource.length) || 0
142
142
  },
143
143
  columns: columns,
144
+ indexFixed: true,
144
145
  isIndex: false,
145
146
  rowKey: 'index',
146
147
  dataSource: (dataSource === null || dataSource === void 0 ? void 0 : dataSource.length) > 0 ? dataSource.map(function (ele, index) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/modals2",
3
- "version": "5.0.39",
3
+ "version": "5.0.40",
4
4
  "description": "弹窗组件",
5
5
  "license": "MIT",
6
6
  "module": "lib/index.js",