@zgfe/modules-settings 1.2.8-node.5 → 1.2.8-node.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.
@@ -30,11 +30,10 @@ var Info = function Info(props) {
30
30
  license: license
31
31
  }
32
32
  }).then(function (res) {
33
- if (res && res.flag === 101) {
34
- notification.success({
35
- message: '授权码更新成功!'
36
- });
37
- }
33
+ if (!res) return;
34
+ notification.success({
35
+ message: '授权码更新成功!'
36
+ });
38
37
  }).catch(function (err) {
39
38
  console.log(err);
40
39
  notification.error({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "1.2.8-node.5",
3
+ "version": "1.2.8-node.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": "ddb1252662d0dbc09d624d5544112205417465de",
54
+ "gitHead": "9259664d88f8bcdad7343080cf61a089a424afb8",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }