@zgfe/modules-dm 1.0.56-zhongyuan.29 → 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,10 +938,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
938
938
  notification.success({
939
939
  message: '添加成功'
940
940
  });
941
- //重置一下
942
941
  props.Refresh();
943
- //重新获取列表
944
- queryUserPropMeta();
945
942
  setAddAttrNameShow(false);
946
943
  } else {
947
944
  notification.error({
@@ -1183,14 +1180,14 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
1183
1180
  return owner == '' || item.owner === owner;
1184
1181
  }),
1185
1182
  pagination: false
1186
- }), /*#__PURE__*/React.createElement(Button, {
1183
+ }), source == 'event' && (/*#__PURE__*/React.createElement(Button, {
1187
1184
  className: "button-add",
1188
1185
  type: "primary",
1189
1186
  onClick: function onClick() {
1190
1187
  setAddAttrNameShow(true);
1191
1188
  setEventAttrList([]); // 清空新增事件属性
1192
1189
  }
1193
- }, "\u65B0\u589E\u4E8B\u4EF6\u5C5E\u6027"), /*#__PURE__*/React.createElement(Modal, {
1190
+ }, "\u65B0\u589E\u4E8B\u4EF6\u5C5E\u6027")), /*#__PURE__*/React.createElement(Modal, {
1194
1191
  width: "80%",
1195
1192
  title: "\u65B0\u589E\u4E8B\u4EF6\u5C5E\u6027",
1196
1193
  getContainer: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.56-zhongyuan.29",
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": "7c7bf329c503c798b960aac3a90788a15af8c0e5",
60
+ "gitHead": "f9ccd98462e70cf6c930f01ff419ada6b7057c04",
61
61
  "gitHooks": {
62
62
  "pre-commit": "lint-staged"
63
63
  }