@zgfe/modules-dm 1.0.56-zhongyuan.28 → 1.0.56-zhongyuan.30

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.
@@ -938,8 +938,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
938
938
  notification.success({
939
939
  message: '添加成功'
940
940
  });
941
- //重新获取列表
942
- queryUserPropMeta();
941
+ props.Refresh();
943
942
  setAddAttrNameShow(false);
944
943
  } else {
945
944
  notification.error({
@@ -1181,14 +1180,14 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
1181
1180
  return owner == '' || item.owner === owner;
1182
1181
  }),
1183
1182
  pagination: false
1184
- }), /*#__PURE__*/React.createElement(Button, {
1183
+ }), source == 'event' && (/*#__PURE__*/React.createElement(Button, {
1185
1184
  className: "button-add",
1186
1185
  type: "primary",
1187
1186
  onClick: function onClick() {
1188
1187
  setAddAttrNameShow(true);
1189
1188
  setEventAttrList([]); // 清空新增事件属性
1190
1189
  }
1191
- }, "\u65B0\u589E\u4E8B\u4EF6\u5C5E\u6027"), /*#__PURE__*/React.createElement(Modal, {
1190
+ }, "\u65B0\u589E\u4E8B\u4EF6\u5C5E\u6027")), /*#__PURE__*/React.createElement(Modal, {
1192
1191
  width: "80%",
1193
1192
  title: "\u65B0\u589E\u4E8B\u4EF6\u5C5E\u6027",
1194
1193
  getContainer: false,
@@ -258,6 +258,7 @@ var DataRealView = function DataRealView() {
258
258
  span: 18
259
259
  }
260
260
  }, /*#__PURE__*/React.createElement(Input, {
261
+ disabled: textStatus,
261
262
  placeholder: "\u8BF7\u8F93\u5165\u4E8B\u4EF6\u540D\u79F0"
262
263
  })), /*#__PURE__*/React.createElement(Form.Item, {
263
264
  name: "searchUserId",
@@ -269,6 +270,7 @@ var DataRealView = function DataRealView() {
269
270
  span: 18
270
271
  }
271
272
  }, /*#__PURE__*/React.createElement(Input, {
273
+ disabled: textStatus,
272
274
  placeholder: "\u8BF7\u8F93\u5165\u7528\u6237ID"
273
275
  })), /*#__PURE__*/React.createElement(Form.Item, {
274
276
  name: "filterData",
@@ -280,6 +282,7 @@ var DataRealView = function DataRealView() {
280
282
  span: 18
281
283
  }
282
284
  }, /*#__PURE__*/React.createElement(Input, {
285
+ disabled: textStatus,
283
286
  placeholder: "\u8BF7\u8F93\u5165\u9700\u8981\u8FC7\u6EE4\u7684\u6570\u636E"
284
287
  }))), /*#__PURE__*/React.createElement(Button, {
285
288
  type: "primary",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.56-zhongyuan.28",
3
+ "version": "1.0.56-zhongyuan.30",
4
4
  "license": "ISC",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -57,7 +57,7 @@
57
57
  "umi-request": "^1.4.0",
58
58
  "yorkie": "^2.0.0"
59
59
  },
60
- "gitHead": "8a3b893de0f19350289596549b66d86fc65af1af",
60
+ "gitHead": "f9ccd98462e70cf6c930f01ff419ada6b7057c04",
61
61
  "gitHooks": {
62
62
  "pre-commit": "lint-staged"
63
63
  }