@zgfe/modules-dm 1.0.37 → 1.0.38

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.
@@ -380,14 +380,15 @@ var CollectionEventList = function CollectionEventList(props) {
380
380
  }, "\u5171", /*#__PURE__*/React.createElement("span", null, total), "\u6761"), /*#__PURE__*/React.createElement("div", {
381
381
  className: "top-button"
382
382
  }, /*#__PURE__*/React.createElement(Button, {
383
- type: "primary",
384
383
  shape: "round",
384
+ className: "button ".concat(!authority[1000002] ? 'disabled' : ''),
385
385
  disabled: !authority[1000002],
386
386
  onClick: function onClick() {
387
387
  return setEventNameShow(true);
388
388
  }
389
389
  }, "\u521B\u5EFA\u4E8B\u4EF6\u5206\u7EC4"), /*#__PURE__*/React.createElement(Button, {
390
390
  shape: "round",
391
+ className: "button ".concat(!authority[1700636282] ? 'disabled' : ''),
391
392
  disabled: !authority[1700636282],
392
393
  onClick: function onClick() {
393
394
  return setEventGroupingShow(true);
@@ -93,8 +93,7 @@
93
93
  display: flex;
94
94
  gap: 16px;
95
95
  line-height: 100%;
96
- > :nth-child(2),
97
- > :nth-child(3) {
96
+ .button:not(.disabled) {
98
97
  color: #1454e5;
99
98
  border: 1px solid #1454e5;
100
99
  }
@@ -281,12 +281,14 @@ var VirtualEventList = function VirtualEventList() {
281
281
  }
282
282
  }, "\u521B\u5EFA\u865A\u62DF\u4E8B\u4EF6"), /*#__PURE__*/React.createElement(Button, {
283
283
  shape: "round",
284
+ className: "button ".concat(!authority[1700636137] ? 'disabled' : ''),
284
285
  disabled: !authority[1700636137],
285
286
  onClick: function onClick() {
286
287
  return setEventNameShow(true);
287
288
  }
288
289
  }, "\u521B\u5EFA\u4E8B\u4EF6\u5206\u7EC4"), /*#__PURE__*/React.createElement(Button, {
289
290
  shape: "round",
291
+ className: "button ".concat(!authority[1700636017] ? 'disabled' : ''),
290
292
  disabled: !authority[1700636017],
291
293
  onClick: function onClick() {
292
294
  return setEventGroupingShow(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "license": "ISC",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -51,7 +51,7 @@
51
51
  "umi-request": "^1.4.0",
52
52
  "yorkie": "^2.0.0"
53
53
  },
54
- "gitHead": "951170e644a46fd388269e91dea5d98e9f52bb2b",
54
+ "gitHead": "b76a2d00e610543c08fd9a2fe294bf82eaa273ae",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }