@zgfe/modules-settings 1.2.10 → 1.2.12

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.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -131,7 +131,7 @@ var AppMember = function AppMember() {
131
131
  request(apis.app.queryLeftMenus, {
132
132
  method: 'get',
133
133
  params: {
134
- appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId
134
+ appId: (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId) || 0
135
135
  }
136
136
  }).then(function (res) {
137
137
  var menus = (res === null || res === void 0 ? void 0 : res.data) || [];
File without changes
@@ -201,7 +201,7 @@ var CompanySetting = function CompanySetting(props) {
201
201
  request(api.app.queryLeftMenus, {
202
202
  method: 'get',
203
203
  params: {
204
- appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId
204
+ appId: (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId) || 0
205
205
  }
206
206
  }).then(function (res) {
207
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",
3
+ "version": "1.2.12",
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": "bf4919aed7183c487543f097b2179e996e202cf6",
54
+ "gitHead": "fd2b551d4eda9d55f828f309c1d8c1374a4e2301",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }