@zgfe/modules-settings 1.2.10-scenes1.0.3 → 1.2.10-scenes1.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.
@@ -287,7 +287,7 @@ var appList = function appList(props) {
287
287
  data: {
288
288
  appName: appNameVal,
289
289
  companyId: companyId,
290
- appVersion: (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.getFieldValue('appVersion')
290
+ appVersion: ((_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.getFieldValue('appVersion')) || (currentUser === null || currentUser === void 0 ? void 0 : currentUser.companyBuyVersion)
291
291
  }
292
292
  }).then(function (res) {
293
293
  if (!res) return;
@@ -351,7 +351,7 @@ var appList = function appList(props) {
351
351
  var _formRef$current4;
352
352
  setAppNameVal((_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 ? void 0 : _formRef$current4.getFieldValue('appNameVal'));
353
353
  }
354
- }, (currentUser === null || currentUser === void 0 ? void 0 : currentUser.companyBuyVersion) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Form.Item, null, /*#__PURE__*/React.createElement("div", {
354
+ }, (currentUser === null || currentUser === void 0 ? void 0 : currentUser.companyBuyVersion) === 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Form.Item, null, /*#__PURE__*/React.createElement("div", {
355
355
  className: "app-list-version-warning"
356
356
  }, /*#__PURE__*/React.createElement(IconFont, {
357
357
  type: "tishi1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "1.2.10-scenes1.0.3",
3
+ "version": "1.2.10-scenes1.0.4",
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": "0697f4a3bcd5f770250a81c7eec83483cc29b4ef",
54
+ "gitHead": "ff77b69e6c1ef538ce3427f28290a888c1d75111",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }