@zgfe/modules-settings 1.2.10-scenes1.0.1 → 1.2.10-scenes1.0.2
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.
|
@@ -34,7 +34,8 @@ var CompanySetting = function CompanySetting(props) {
|
|
|
34
34
|
var apisOkNum = 0;
|
|
35
35
|
var _useContext = useContext(BizGlobalDataContext),
|
|
36
36
|
envs = _useContext.envs,
|
|
37
|
-
getMenuRouterByName = _useContext.getMenuRouterByName
|
|
37
|
+
getMenuRouterByName = _useContext.getMenuRouterByName,
|
|
38
|
+
currentApp = _useContext.currentApp;
|
|
38
39
|
var _ref = envs || {},
|
|
39
40
|
zgText = _ref.zgText,
|
|
40
41
|
showVirtualApp = _ref.showVirtualApp,
|
|
@@ -200,7 +201,7 @@ var CompanySetting = function CompanySetting(props) {
|
|
|
200
201
|
request(api.app.queryLeftMenus, {
|
|
201
202
|
method: 'get',
|
|
202
203
|
params: {
|
|
203
|
-
appId:
|
|
204
|
+
appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId
|
|
204
205
|
}
|
|
205
206
|
}).then(function (res) {
|
|
206
207
|
var menus = res && res.data || [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-settings",
|
|
3
|
-
"version": "1.2.10-scenes1.0.
|
|
3
|
+
"version": "1.2.10-scenes1.0.2",
|
|
4
4
|
"module": "es/index.js",
|
|
5
5
|
"typings": "es/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"umi-request": "^1.4.0",
|
|
52
52
|
"yorkie": "^2.0.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "28d81e92408bb4f2721e51747ec0221398e75f21",
|
|
55
55
|
"gitHooks": {
|
|
56
56
|
"pre-commit": "lint-staged"
|
|
57
57
|
}
|