@zgfe/modules-settings 1.2.10-scenes1.0.4 → 1.2.10-scenes1.0.6

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')) || (currentUser === null || currentUser === void 0 ? void 0 : currentUser.companyBuyVersion)
290
+ appVersion: (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.getFieldValue('appVersion')
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();
@@ -344,7 +345,7 @@ var appList = function appList(props) {
344
345
  }, /*#__PURE__*/React.createElement(Form, {
345
346
  initialValues: {
346
347
  appNameVal: '',
347
- appVersion: AppVersion.common
348
+ appVersion: (currentUser === null || currentUser === void 0 ? void 0 : currentUser.companyBuyVersion) === 0 ? AppVersion.common : currentUser === null || currentUser === void 0 ? void 0 : currentUser.companyBuyVersion
348
349
  },
349
350
  ref: formRef,
350
351
  onValuesChange: function onValuesChange() {
@@ -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.4",
3
+ "version": "1.2.10-scenes1.0.6",
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": "ff77b69e6c1ef538ce3427f28290a888c1d75111",
54
+ "gitHead": "9263b7e75ebbaacdf5f160202d2a5bbe9b214ac0",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }