@kmkf-fe-packages/kmkf-work-order-service-component 2.2.13-beta.76 → 2.2.13-beta.77

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.
@@ -105,8 +105,8 @@ var FormRender = function FormRender(props, ref) {
105
105
  }, [shopList]);
106
106
  var userInfo = JSON.parse(localStorage.getItem('reduxData_userInfo') || '{}');
107
107
  var canEditShopName = useMemo(function () {
108
- var _JSON$parse, _JSON$parse$pc;
109
- return (_JSON$parse = JSON.parse((userInfo === null || userInfo === void 0 ? void 0 : userInfo.companyUserConfig) || '{}')) === null || _JSON$parse === void 0 ? void 0 : (_JSON$parse$pc = _JSON$parse.pc) === null || _JSON$parse$pc === void 0 ? void 0 : _JSON$parse$pc.canEditShopName;
108
+ var _userInfo$companyUser, _userInfo$companyUser2;
109
+ return userInfo === null || userInfo === void 0 ? void 0 : (_userInfo$companyUser = userInfo.companyUserConfig) === null || _userInfo$companyUser === void 0 ? void 0 : (_userInfo$companyUser2 = _userInfo$companyUser.pc) === null || _userInfo$companyUser2 === void 0 ? void 0 : _userInfo$companyUser2.canEditShopName;
110
110
  }, [userInfo]);
111
111
  var mappingConfig = useMemo(function () {
112
112
  return getMappingConfigByTemplateDetail(templateDetail);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.2.13-beta.76",
3
+ "version": "2.2.13-beta.77",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -34,7 +34,7 @@
34
34
  "@ant-design/icons": "^4.7.0",
35
35
  "@kmkf-fe-packages/basic-components": "2.2.13-beta.69",
36
36
  "@kmkf-fe-packages/kmkf-utils": "2.2.13-beta.68",
37
- "@kmkf-fe-packages/services-components": "2.2.13-beta.75",
37
+ "@kmkf-fe-packages/services-components": "2.2.13-beta.77",
38
38
  "@reduxjs/toolkit": "^1.8.5",
39
39
  "ahooks": "^3.7.4",
40
40
  "copy-to-clipboard": "^3.3.3",
@@ -74,7 +74,7 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "226415f8830c6aaec2a595591e74908705c49017",
77
+ "gitHead": "cd7fe95d1b7d8f25f68ca76f2a2c753332dae2bd",
78
78
  "gitHooks": {
79
79
  "pre-commit": "lint-staged"
80
80
  }