@zgfe/modules-interval 1.0.4 → 1.0.6
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
|
-
})),
|
|
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
|
}
|
|
@@ -116,7 +116,7 @@ var TopBar = function TopBar(props) {
|
|
|
116
116
|
})), (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appVersion) === appVersionType.CityCommercialBank ? /*#__PURE__*/React.createElement(Button, {
|
|
117
117
|
className: "".concat(classPrefix, "-earlywarning"),
|
|
118
118
|
type: "primary",
|
|
119
|
-
disabled: showLoading,
|
|
119
|
+
disabled: showLoading || !authority[100143],
|
|
120
120
|
onClick: function onClick() {
|
|
121
121
|
props.onUserDrill({
|
|
122
122
|
appId: Number(currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId),
|