component-shipinlv 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,9 @@ function _login() {
10
10
  return _regeneratorRuntime().wrap(function _callee$(_context) {
11
11
  while (1) switch (_context.prev = _context.next) {
12
12
  case 0:
13
+ // 兼容
14
+ // @ts-ignore
15
+ body.account = body.accountName;
13
16
  return _context.abrupt("return", request("auth/loginAccount", {
14
17
  method: 'POST',
15
18
  headers: {
@@ -17,7 +20,7 @@ function _login() {
17
20
  },
18
21
  data: _objectSpread({}, body)
19
22
  }));
20
- case 1:
23
+ case 2:
21
24
  case "end":
22
25
  return _context.stop();
23
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",