@zgfe/modules-settings 1.2.4-alpha.2 → 1.2.4-alpha.3

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.
@@ -337,6 +337,9 @@ var appList = function appList(props) {
337
337
  setCreateAppLoading(false);
338
338
  });
339
339
  };
340
+ useEffect(function () {
341
+ console.log(666, system, cepAppList, companyRealAppList);
342
+ }, [system]);
340
343
  return /*#__PURE__*/React.createElement("div", {
341
344
  className: "app-list"
342
345
  }, /*#__PURE__*/React.createElement("div", {
@@ -157,7 +157,8 @@ var Info = /*#__PURE__*/forwardRef(function (props, ref) {
157
157
  key: item.id,
158
158
  describe: item.appName,
159
159
  checked: isAll || appIds.includes(item.id),
160
- isVirtualApp: !!(item.appType && item.appType === 'virtual'),
160
+ // isVirtualApp: !!(item.appType && item.appType === 'virtual'),
161
+ isVirtualApp: !!(item.appTypeEm && item.appTypeEm === 'virtual'),
161
162
  indeterminate: false,
162
163
  children: []
163
164
  };
@@ -139,7 +139,7 @@ var CompanySetting = function CompanySetting(props) {
139
139
  }, [props.action]);
140
140
  useEffect(function () {
141
141
  setCompanyRealAppList(companyAppList.filter(function (app) {
142
- return app.appType === 'real';
142
+ return app.appTypeEm === 'real';
143
143
  }));
144
144
  }, [appList]);
145
145
  useEffect(function () {
@@ -31,7 +31,7 @@ export interface AppListItem {
31
31
  app_name?: string;
32
32
  sdkPlatform: string;
33
33
  appAlias: string;
34
- appType: string;
34
+ appTypeEm: string;
35
35
  data_source?: AppListItemSourceItem[];
36
36
  apps: Array<AppListItemAppsItem>;
37
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "1.2.4-alpha.2",
3
+ "version": "1.2.4-alpha.3",
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": "64597a6367e12586630eab956ab5ee39961a1f57",
54
+ "gitHead": "14d16fc85e2ec8fcfa6fd355770ee445ee8534a3",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }