@yilianjituan/yilian_dgerm 0.0.1-alpha.44 → 0.0.1-alpha.45

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.
@@ -21,7 +21,7 @@ import { Resizable } from 'react-resizable';
21
21
  import "./index.scss";
22
22
  /**
23
23
  * 处理单元格大小
24
- *
24
+ *
25
25
  * @param index 当前列的索引,用于标识是哪一列的宽度发生了变化
26
26
  * @param columns 表格的列配置数组,包含了所有列的配置信息
27
27
  * @param newColumnsVoid 一个回调函数,用于应用新的列配置
@@ -167,7 +167,7 @@ var CustomTable = function CustomTable(props) {
167
167
  setColumn = _React$useState2[1];
168
168
  useEffect(function () {
169
169
  setColumn(columns);
170
- }, [dataSource]);
170
+ }, [dataSource, columns]);
171
171
  var customComponents = _objectSpread({
172
172
  header: _objectSpread({
173
173
  cell: ResizableTitle
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yilianjituan/yilian_dgerm",
3
- "version": "0.0.1-alpha.44",
3
+ "version": "0.0.1-alpha.45",
4
4
  "description": "A react library developed with dumi",
5
5
  "keywords": [
6
6
  "React",