@zgfe/modules-settings 1.2.10-scenes1.0.3 → 1.2.10-scenes1.0.5

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;
@@ -330,6 +330,7 @@ var appList = function appList(props) {
330
330
  }, "\u65B0\u5EFA\u5E94\u7528")), /*#__PURE__*/React.createElement(BizDialog, {
331
331
  title: "\u65B0\u5EFA\u5E94\u7528",
332
332
  visible: createdAppPanel,
333
+ className: "app-list-create-app",
333
334
  closable: true,
334
335
  onOk: function onOk() {
335
336
  onCreateConfirm();
@@ -351,7 +352,7 @@ var appList = function appList(props) {
351
352
  var _formRef$current4;
352
353
  setAppNameVal((_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 ? void 0 : _formRef$current4.getFieldValue('appNameVal'));
353
354
  }
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", {
355
+ }, (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
356
  className: "app-list-version-warning"
356
357
  }, /*#__PURE__*/React.createElement(IconFont, {
357
358
  type: "tishi1"
@@ -79,4 +79,7 @@
79
79
  font-size: 14px;
80
80
  }
81
81
  }
82
+ &-create-app .ant-modal-header {
83
+ padding-bottom: 0 !important;
84
+ }
82
85
  }
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.5",
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": "52d265b35f3c189e83dd981f523e33f0934725ec",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }