@zgfe/modules-dm 1.0.34-heyh.15 → 1.0.34-heyh.16

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.
@@ -76,6 +76,8 @@ var EventGroupingDrawer = function EventGroupingDrawer(props) {
76
76
  appId: getAppID(currentApp),
77
77
  ids: ids
78
78
  }
79
+ }).then(function () {
80
+ refresh();
79
81
  });
80
82
  }
81
83
  setIsDragDisabled(false);
@@ -221,7 +221,7 @@ var VirtualTablePlus = function VirtualTablePlus(props) {
221
221
  key: 'lastInsertTime',
222
222
  width: 187,
223
223
  render: function render(text) {
224
- return /*#__PURE__*/React.createElement("div", null, moment(text).format('YYYY-MM-DD HH:mm:ss'));
224
+ return /*#__PURE__*/React.createElement("div", null, text ? moment(text).format('YYYY-MM-DD HH:mm:ss') : '');
225
225
  }
226
226
  }, {
227
227
  title: '描述',
package/es/utils/index.js CHANGED
@@ -229,13 +229,13 @@ export var eventListHandle = function eventListHandle(data) {
229
229
  item.checked = false;
230
230
  item.open = false;
231
231
  if (item.eventList.length > 0) {
232
- if (!_open) {
233
- _open = true;
234
- item.open = true;
235
- }
236
232
  item.eventList = item.eventList.filter(function (_item) {
237
233
  return _item.is_delete === 0;
238
234
  });
235
+ if (item.eventList.length > 0 && !_open) {
236
+ _open = true;
237
+ item.open = true;
238
+ }
239
239
  }
240
240
  });
241
241
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.34-heyh.15",
3
+ "version": "1.0.34-heyh.16",
4
4
  "license": "ISC",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -52,7 +52,7 @@
52
52
  "umi-request": "^1.4.0",
53
53
  "yorkie": "^2.0.0"
54
54
  },
55
- "gitHead": "d39a1d41ee62eaa3659f148c7a93ef5c0fe544c5",
55
+ "gitHead": "bd36e8d459d8fe9a60f17caa03944a8aef5e46a8",
56
56
  "gitHooks": {
57
57
  "pre-commit": "lint-staged"
58
58
  }