@zgfe/modules-dm 1.0.7 → 1.0.9

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.
@@ -145,6 +145,8 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
145
145
 
146
146
  if (source == 'user') {
147
147
  queryUserPropMeta();
148
+ } else {
149
+ props.Refresh();
148
150
  }
149
151
 
150
152
  state.updateEventMetas && state.updateEventMetas(); // 更新store
@@ -509,6 +509,7 @@ var CollectionEventList = function CollectionEventList(props) {
509
509
  textAlign: 'right'
510
510
  },
511
511
  showQuickJumper: true,
512
+ showSizeChanger: total > 10,
512
513
  defaultCurrent: 1,
513
514
  current: pageNumber,
514
515
  total: total,
@@ -526,7 +527,8 @@ var CollectionEventList = function CollectionEventList(props) {
526
527
  isOpen: props.isOpen,
527
528
  queryPlanData: props.queryPlanData,
528
529
  eventAttrsData: eventAttrsData,
529
- source: "event"
530
+ source: "event",
531
+ Refresh: refreshHandle
530
532
  })), /*#__PURE__*/React.createElement(Modal, {
531
533
  title: "\u521B\u5EFA\u5206\u7EC4",
532
534
  className: "creact-group",
@@ -205,6 +205,7 @@ var PlanList = function PlanList(props) {
205
205
  lineHeight: '32px'
206
206
  }
207
207
  }, "\u57CB\u70B9\u65B9\u6848\u63A7\u5236"), /*#__PURE__*/React.createElement(Switch, {
208
+ disabled: isDemo || listData.length <= 0,
208
209
  onChange: isOpenChang,
209
210
  checkedChildren: "\u5F00",
210
211
  unCheckedChildren: "\u5173",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "license": "ISC",
@@ -53,7 +53,7 @@
53
53
  "umi-request": "^1.4.0",
54
54
  "yorkie": "^2.0.0"
55
55
  },
56
- "gitHead": "d675516811c6d4e9edd92f37f1c3b6c10114fd2d",
56
+ "gitHead": "86e48cc5f42569b154c32167155a6008cc892665",
57
57
  "gitHooks": {
58
58
  "pre-commit": "lint-staged"
59
59
  }