ronds-metadata 1.0.54 → 1.0.55
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.
@@ -1,6 +1,12 @@
|
|
1
1
|
import "antd/es/spin/style";
|
2
2
|
import _Spin from "antd/es/spin";
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
4
|
+
|
5
|
+
/*
|
6
|
+
* @Author: wangxian
|
7
|
+
* @Date: 2021-09-18 14:15:04
|
8
|
+
* @LastEditTime: 2022-04-02 15:10:04
|
9
|
+
*/
|
4
10
|
import React from 'react';
|
5
11
|
import Input from './DataCell/Input';
|
6
12
|
import Number from './DataCell/Number';
|
@@ -9,7 +15,6 @@ import Switch from './DataCell/Switch';
|
|
9
15
|
import Array from './DataCell/Array';
|
10
16
|
import Ref from './DataCell/Ref';
|
11
17
|
import { withAddOnAfter } from './HOC';
|
12
|
-
import { guid } from '@/utils';
|
13
18
|
var DataCellMap = {
|
14
19
|
text: withAddOnAfter(Input),
|
15
20
|
number: withAddOnAfter(Number),
|
@@ -22,7 +27,7 @@ export function getDataCell(item, options) {
|
|
22
27
|
if (item.type && DataCellMap[item.type]) {
|
23
28
|
var Comm = DataCellMap[item.type];
|
24
29
|
return /*#__PURE__*/React.createElement(Comm, _extends({
|
25
|
-
key:
|
30
|
+
key: item.id
|
26
31
|
}, item, {
|
27
32
|
disabled: options.disabled,
|
28
33
|
isRefForm: options.isRefForm,
|