ronds-metadata 1.0.95 → 1.0.98
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.
@@ -31,12 +31,10 @@ var EditableHeardCell = function EditableHeardCell(props) {
|
|
31
31
|
editConfig = _ref.editConfig;
|
32
32
|
|
33
33
|
var addColumnRef = React.useRef({
|
34
|
-
key: '',
|
35
34
|
title: ''
|
36
35
|
});
|
37
36
|
|
38
37
|
var _React$useState = React.useState({
|
39
|
-
key: '',
|
40
38
|
title: ''
|
41
39
|
}),
|
42
40
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
@@ -66,11 +64,9 @@ var EditableHeardCell = function EditableHeardCell(props) {
|
|
66
64
|
}, addColumnRef.current)
|
67
65
|
});
|
68
66
|
setAddColumn({
|
69
|
-
key: '',
|
70
67
|
title: ''
|
71
68
|
});
|
72
69
|
addColumnRef.current = {
|
73
|
-
key: '',
|
74
70
|
title: ''
|
75
71
|
};
|
76
72
|
};
|
@@ -94,19 +90,6 @@ var EditableHeardCell = function EditableHeardCell(props) {
|
|
94
90
|
marginBottom: '10px'
|
95
91
|
}
|
96
92
|
}, /*#__PURE__*/React.createElement(_Input, {
|
97
|
-
value: addColumn.key,
|
98
|
-
style: {
|
99
|
-
width: '100%',
|
100
|
-
marginBottom: '5px'
|
101
|
-
},
|
102
|
-
onChange: function onChange(e) {
|
103
|
-
var _ = addColumnRef.current;
|
104
|
-
_.key = e.target.value;
|
105
|
-
setAddColumn(_objectSpread({}, _));
|
106
|
-
addColumnRef.current = _;
|
107
|
-
},
|
108
|
-
placeholder: tr('请输入key')
|
109
|
-
}), /*#__PURE__*/React.createElement(_Input, {
|
110
93
|
value: addColumn.title,
|
111
94
|
style: {
|
112
95
|
width: '100%'
|
@@ -10,5 +10,6 @@ export default {
|
|
10
10
|
请先保存正在编辑的行: 'Please save the line being edited first',
|
11
11
|
请输入key: 'Please enter key',
|
12
12
|
请输入title: 'Please enter title',
|
13
|
-
确认会删除该列: 'Confirm will delete the column?'
|
13
|
+
确认会删除该列: 'Confirm will delete the column?',
|
14
|
+
当前值无修改: 'No change to current value'
|
14
15
|
};
|