@zgfe/modules-settings 1.2.8-node.0 → 1.2.8-node.2

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.
@@ -26,7 +26,7 @@ var Info = function Info(props) {
26
26
  var updateLicense = function updateLicense(license) {
27
27
  request(api.setting.updateLicense, {
28
28
  method: 'post',
29
- params: {
29
+ data: {
30
30
  license: license
31
31
  }
32
32
  }).then(function (res) {
@@ -55,6 +55,8 @@ var PersonalInfo = function PersonalInfo(_ref) {
55
55
  emailNote: emailNote
56
56
  });
57
57
  form.resetFields();
58
+ currentUser.username = username;
59
+ currentUser.emailNote = emailNote;
58
60
  // 主应用更新currentUser,同公司设置-更新应用名称回调
59
61
  settingsCallback('settingChangeCompanyNameCallback');
60
62
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "1.2.8-node.0",
3
+ "version": "1.2.8-node.2",
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": "c3754a60ba4183812cde788e7a2626e2fb90d786",
54
+ "gitHead": "fb92a1b1d9ac8fc0f94508f2d80912b646b90651",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }