ronds-metadata 1.0.87 → 1.0.88
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.
@@ -8,7 +8,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
8
8
|
/*
|
9
9
|
* @Author: wangxian
|
10
10
|
* @Date: 2021-09-18 14:15:04
|
11
|
-
* @LastEditTime: 2022-05-
|
11
|
+
* @LastEditTime: 2022-05-11 10:59:56
|
12
12
|
*/
|
13
13
|
import React from 'react';
|
14
14
|
import { MinusCircleOutlined, PlusOutlined } from '@ant-design/icons';
|
@@ -16,6 +16,7 @@ import { MetadataFormContext } from '../interface';
|
|
16
16
|
import { useGetExtraInfo } from '../hooks';
|
17
17
|
import { getDataCell } from '../utils';
|
18
18
|
import { deepClone } from '../../../utils';
|
19
|
+
import { tr } from '@/framework/locale';
|
19
20
|
|
20
21
|
function Index(props) {
|
21
22
|
var _fieldRule$, _fieldRule$$value;
|
@@ -116,7 +117,7 @@ function Index(props) {
|
|
116
117
|
return add();
|
117
118
|
},
|
118
119
|
icon: /*#__PURE__*/React.createElement(PlusOutlined, null)
|
119
|
-
},
|
120
|
+
}, tr('添加'))));
|
120
121
|
})));
|
121
122
|
}
|
122
123
|
|
@@ -48,10 +48,7 @@ function Index(props) {
|
|
48
48
|
var _React$useState7 = React.useState(''),
|
49
49
|
_React$useState8 = _slicedToArray(_React$useState7, 2),
|
50
50
|
help = _React$useState8[0],
|
51
|
-
setHelp = _React$useState8[1];
|
52
|
-
// debugger;
|
53
|
-
// }
|
54
|
-
|
51
|
+
setHelp = _React$useState8[1];
|
55
52
|
|
56
53
|
var onSearch = React.useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
57
54
|
var param, server, res, _options, i, obj;
|