ronds-metadata 1.0.50 → 1.0.51

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.
package/es/api/index.js CHANGED
@@ -6,7 +6,7 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
6
6
  /*
7
7
  * @Author:wangxian
8
8
  * @Date: 2021-09-18 14:15:04
9
- * @LastEditTime: 2022-03-28 14:46:33
9
+ * @LastEditTime: 2022-03-28 15:33:19
10
10
  */
11
11
  import { HttpHelper } from '../framework/http';
12
12
  var http = new HttpHelper();
@@ -191,7 +191,8 @@ var MetaFieldsEdit = function MetaFieldsEdit(props) {
191
191
  options: metaType || [],
192
192
  filterOption: function filterOption(input, option) {
193
193
  return (option === null || option === void 0 ? void 0 : option.label.indexOf(input)) >= 0;
194
- }
194
+ },
195
+ allowClear: true
195
196
  })), /*#__PURE__*/React.createElement("div", {
196
197
  style: {
197
198
  lineHeight: '88px',
@@ -169,7 +169,8 @@ var MetaPropsEdit = function MetaPropsEdit(props) {
169
169
  showSearch: true,
170
170
  filterOption: function filterOption(input, option) {
171
171
  return (option === null || option === void 0 ? void 0 : option.label.indexOf(input)) >= 0;
172
- }
172
+ },
173
+ allowClear: true
173
174
  })), /*#__PURE__*/React.createElement("div", {
174
175
  style: {
175
176
  padding: '0 10px'
@@ -189,7 +189,8 @@ function Index(props) {
189
189
  notFoundContent: '没有批到到该实体数据',
190
190
  filterOption: function filterOption(input, option) {
191
191
  return (option === null || option === void 0 ? void 0 : option.label.indexOf(input)) >= 0;
192
- }
192
+ },
193
+ allowClear: true
193
194
  })) : /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, {
194
195
  style: {
195
196
  flex: 1,
@@ -214,7 +215,8 @@ function Index(props) {
214
215
  notFoundContent: '没有批到到该实体数据',
215
216
  filterOption: function filterOption(input, option) {
216
217
  return (option === null || option === void 0 ? void 0 : option.label.indexOf(input)) >= 0;
217
- }
218
+ },
219
+ allowClear: true
218
220
  }));
219
221
  }
220
222
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.0.50",
4
+ "version": "1.0.51",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",