@luck-design-biz/luckda 1.0.2-17 → 1.0.2-18

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.
@@ -4,18 +4,20 @@ import { stringify } from 'qs';
4
4
  import { request } from '@luck-design-biz/base/utils';
5
5
  import api from "@/services/ApiConfig";
6
6
  export var fetchContent = /*#__PURE__*/function () {
7
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dmCode, get) {
7
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dmCode, get, post) {
8
8
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9
9
  while (1) switch (_context.prev = _context.next) {
10
10
  case 0:
11
- return _context.abrupt("return", request("".concat(api.API_HOST, "/").concat(dmCode, "/ui/builder/complex/noAuthFetchContent?").concat(stringify(get))));
11
+ return _context.abrupt("return", request("".concat(api.API_HOST, "/").concat(dmCode, "/ui/builder/complex/noAuthFetchContent?").concat(stringify(get)), {
12
+ data: post
13
+ }));
12
14
  case 1:
13
15
  case "end":
14
16
  return _context.stop();
15
17
  }
16
18
  }, _callee);
17
19
  }));
18
- return function fetchContent(_x, _x2) {
20
+ return function fetchContent(_x, _x2, _x3) {
19
21
  return _ref.apply(this, arguments);
20
22
  };
21
23
  }();
@@ -11,18 +11,20 @@ var _qs = require("qs");
11
11
  var _utils = require("@luck-design-biz/base/utils");
12
12
  var _ApiConfig = _interopRequireDefault(require("@/services/ApiConfig"));
13
13
  var fetchContent = exports.fetchContent = /*#__PURE__*/function () {
14
- var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(dmCode, get) {
14
+ var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(dmCode, get, post) {
15
15
  return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
16
16
  while (1) switch (_context.prev = _context.next) {
17
17
  case 0:
18
- return _context.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(dmCode, "/ui/builder/complex/noAuthFetchContent?").concat((0, _qs.stringify)(get))));
18
+ return _context.abrupt("return", (0, _utils.request)("".concat(_ApiConfig.default.API_HOST, "/").concat(dmCode, "/ui/builder/complex/noAuthFetchContent?").concat((0, _qs.stringify)(get)), {
19
+ data: post
20
+ }));
19
21
  case 1:
20
22
  case "end":
21
23
  return _context.stop();
22
24
  }
23
25
  }, _callee);
24
26
  }));
25
- return function fetchContent(_x, _x2) {
27
+ return function fetchContent(_x, _x2, _x3) {
26
28
  return _ref.apply(this, arguments);
27
29
  };
28
30
  }();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luck-design-biz/luckda",
3
- "version": "1.0.2-17",
3
+ "version": "1.0.2-18",
4
4
  "description": "前端配置管理中心业务组件库",
5
5
  "scripts": {
6
6
  "start": "cross-env NODE_OPTIONS=--max-old-space-size=10240 USER_RUNTIME=SITE RUNTIME=dev umi dev",