@zgfe/modules-dm 1.0.56-zhongyuan.29 → 1.0.56-zhongyuan.31

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,
@@ -690,7 +690,7 @@ var TablePlus = function TablePlus(props) {
690
690
  placement: "top"
691
691
  }, /*#__PURE__*/React.createElement("div", {
692
692
  className: "alias_name_text"
693
- }, record.alias_name)), record.groupId && (/*#__PURE__*/React.createElement(IconFont, {
693
+ }, record.alias_name)), /*#__PURE__*/React.createElement(IconFont, {
694
694
  className: "edit-alias-name",
695
695
  onClick: function onClick() {
696
696
  setAliasNameInput(record.alias_name);
@@ -698,7 +698,7 @@ var TablePlus = function TablePlus(props) {
698
698
  setaliasNameShow(true);
699
699
  },
700
700
  type: "zhongmingming"
701
- })));
701
+ }));
702
702
  }
703
703
  }, {
704
704
  title: '触发时机',