ronds-metadata 1.2.26 → 1.2.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,12 +58,6 @@ var TableArray = function TableArray(props) {
58
58
  setList = _React$useState10[1];
59
59
 
60
60
  var listRef = React.useRef([]);
61
-
62
- var _React$useState11 = React.useState({}),
63
- _React$useState12 = _slicedToArray(_React$useState11, 2),
64
- enumOptions = _React$useState12[0],
65
- setEnumOptions = _React$useState12[1];
66
-
67
61
  var enumOptionsRef = React.useRef({});
68
62
  useObservable(function (p) {
69
63
  if ((p === null || p === void 0 ? void 0 : p.type) === 'setFieldsValue') {
@@ -295,7 +289,6 @@ var TableArray = function TableArray(props) {
295
289
  });
296
290
 
297
291
  enumOptionsRef.current[data.id] = _options;
298
- setEnumOptions(_objectSpread({}, enumOptionsRef.current));
299
292
  return _options;
300
293
  }, []);
301
294
  var processColumnType = React.useCallback(function (data, _extraInfo) {
@@ -351,7 +344,7 @@ var TableArray = function TableArray(props) {
351
344
  }
352
345
 
353
346
  return _columns;
354
- }, [enumOptions]);
347
+ }, []);
355
348
  var columns = React.useMemo(function () {
356
349
  var _columns = [];
357
350
 
@@ -3,7 +3,7 @@ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/esm/createClass";
4
4
 
5
5
  /* eslint-disable */
6
- import { transFG2Schema } from '@/comps/FormGenerator/transformer';
6
+ import { transFG2Schema } from '../../comps/FormGenerator/transformer';
7
7
  import { renderBasicFormProps, renderLayoutFormProps, renderSetting } from './utils';
8
8
  /**
9
9
  * 链式调用 组件元数据表单的机器人
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.2.26",
4
+ "version": "1.2.27",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",