@magicbe/antd-crud 0.0.23 → 0.0.24

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.
@@ -75,10 +75,8 @@ var Table = function (_a, ref) {
75
75
  var _j = useState([]), selected_rows = _j[0], setSelected_rows = _j[1];
76
76
  var columns = useMemo(function () {
77
77
  var _a;
78
- var width = 1;
79
78
  var default_action = {
80
79
  title: "操作",
81
- width: width,
82
80
  render: function (value, row, index) {
83
81
  return (_jsxs(Space, { children: [React.cloneElement(_jsx(AppendAction, {}), value, row, index), React.cloneElement(_jsx(EditAction, {}), value, row, index), React.cloneElement(_jsx(DeleteAction, {}), value, row, index)] }));
84
82
  }
@@ -101,7 +99,6 @@ var Table = function (_a, ref) {
101
99
  var Component_1 = record_1;
102
100
  nexts === null || nexts === void 0 ? void 0 : nexts.push({
103
101
  title: "操作",
104
- width: width,
105
102
  render: function (value, row, index) { return React.cloneElement(_jsx(Component_1, {}), { value: value, row: row, index: index }); },
106
103
  });
107
104
  }
@@ -109,7 +106,6 @@ var Table = function (_a, ref) {
109
106
  else if (isArray(record_1)) {
110
107
  nexts === null || nexts === void 0 ? void 0 : nexts.push({
111
108
  title: "操作",
112
- width: width,
113
109
  render: function (value, row, index) {
114
110
  return (_jsx(Space, { children: record_1.map(function (Component, key) { return React.cloneElement(_jsx(Component, {}, key), {
115
111
  value: value,
@@ -127,7 +123,6 @@ var Table = function (_a, ref) {
127
123
  var del_element_1 = _jsx(Fragment, {});
128
124
  nexts === null || nexts === void 0 ? void 0 : nexts.push({
129
125
  title: "操作",
130
- width: width,
131
126
  render: function (_, row, index) {
132
127
  /**新增 */
133
128
  if (add_1 === true)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicbe/antd-crud",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "antd crud table",
5
5
  "author": "wang quan",
6
6
  "private": false,