@zgfe/modules-interval 1.0.4 → 1.0.5

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.
@@ -93,10 +93,10 @@ var TopBar = function TopBar(props) {
93
93
  onOk: function onOk(data) {
94
94
  return _onOk('panel', data);
95
95
  }
96
- })), authority[100057] && /*#__PURE__*/React.createElement("div", {
96
+ })), !panelId && /*#__PURE__*/React.createElement("div", {
97
97
  className: "".concat(classPrefix, "-scene")
98
98
  }, /*#__PURE__*/React.createElement(Button, {
99
- disabled: showLoading,
99
+ disabled: showLoading || !authority[100057],
100
100
  onClick: function onClick() {
101
101
  setShowScene(true);
102
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-interval",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",