@zgfe/modules-settings 1.2.10-scenes1.0.0 → 1.2.10-scenes1.0.1

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.
@@ -263,6 +263,7 @@ var appList = function appList(props) {
263
263
  });
264
264
  };
265
265
  var onCreateConfirm = function onCreateConfirm() {
266
+ var _formRef$current2;
266
267
  if (inDemoMode()) {
267
268
  return;
268
269
  }
@@ -284,7 +285,8 @@ var appList = function appList(props) {
284
285
  method: 'post',
285
286
  data: {
286
287
  appName: appNameVal,
287
- companyId: companyId
288
+ companyId: companyId,
289
+ appVersion: (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.getFieldValue('appVersion')
288
290
  }
289
291
  }).then(function (res) {
290
292
  if (!res) return;
@@ -320,9 +322,9 @@ var appList = function appList(props) {
320
322
  }, /*#__PURE__*/React.createElement(Button, {
321
323
  type: "primary",
322
324
  onClick: function onClick() {
323
- var _formRef$current2;
325
+ var _formRef$current3;
324
326
  setCreatedAppPanel(true);
325
- (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.setFieldValue('appNameVal', '');
327
+ (_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 ? void 0 : _formRef$current3.setFieldValue('appNameVal', '');
326
328
  }
327
329
  }, "\u65B0\u5EFA\u5E94\u7528")), /*#__PURE__*/React.createElement(BizDialog, {
328
330
  title: "\u65B0\u5EFA\u5E94\u7528",
@@ -345,8 +347,8 @@ var appList = function appList(props) {
345
347
  },
346
348
  ref: formRef,
347
349
  onValuesChange: function onValuesChange() {
348
- var _formRef$current3;
349
- setAppNameVal((_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 ? void 0 : _formRef$current3.getFieldValue('appNameVal'));
350
+ var _formRef$current4;
351
+ setAppNameVal((_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 ? void 0 : _formRef$current4.getFieldValue('appNameVal'));
350
352
  }
351
353
  }, /*#__PURE__*/React.createElement(Form.Item, null, /*#__PURE__*/React.createElement("div", {
352
354
  className: "app-list-version-warning"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "1.2.10-scenes1.0.0",
3
+ "version": "1.2.10-scenes1.0.1",
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": "ffea0c95798c50a0407220e84060e5458bdf0cac",
54
+ "gitHead": "cf817780bb436812a5f0dd8c9d446beb28a792d6",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }