@zgfe/modules-page 1.0.4-heyh.0 → 1.0.4
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.
|
@@ -97,7 +97,8 @@ var ModulesPage = function ModulesPage(props) {
|
|
|
97
97
|
var selectRef = useRef(null);
|
|
98
98
|
var _useContext = useContext(BizGlobalDataContext),
|
|
99
99
|
eventGroupList = _useContext.eventGroupList,
|
|
100
|
-
currentApp = _useContext.currentApp
|
|
100
|
+
currentApp = _useContext.currentApp,
|
|
101
|
+
authority = _useContext.authority;
|
|
101
102
|
// 是否是没进行埋点分析
|
|
102
103
|
var isEmpty = useMemo(function () {
|
|
103
104
|
var flag = true;
|
|
@@ -214,7 +215,7 @@ var ModulesPage = function ModulesPage(props) {
|
|
|
214
215
|
className: "".concat(classPrefix, "-top-render")
|
|
215
216
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
216
217
|
type: "primary",
|
|
217
|
-
disabled: loading || !result || !result.length,
|
|
218
|
+
disabled: loading || !result || !result.length || !authority[100144],
|
|
218
219
|
onClick: props.onClickWarn
|
|
219
220
|
}, "\u8BBE\u7F6E\u6D41\u5931\u9884\u8B66"));
|
|
220
221
|
if (isEmpty) return /*#__PURE__*/React.createElement(EmptyPanel, null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-page",
|
|
3
|
-
"version": "1.0.4
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"prettier": "^2.2.1",
|
|
51
51
|
"yorkie": "^2.0.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "9cb95eafa73be8301095632dff5b99c7bcffd783"
|
|
54
54
|
}
|