@fonixtree/magic-design 0.1.47 → 0.1.50

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.
@@ -45,6 +45,8 @@ var _common = require("../../common");
45
45
 
46
46
  var _storeUtil = require("../../utils/storeUtil");
47
47
 
48
+ var _commonUtil = require("../../utils/commonUtil");
49
+
48
50
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
49
51
 
50
52
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -602,6 +604,9 @@ function (_super) {
602
604
  });
603
605
  };
604
606
 
607
+ (0, _commonUtil.ensure)(function () {
608
+ return window._MAGIC_VERSION = '0.1.49';
609
+ });
605
610
  var pageData = props.pageData,
606
611
  config = props.config,
607
612
  outputType = props.outputType,
@@ -78,6 +78,9 @@ var Renderer = function Renderer(props) {
78
78
  };
79
79
 
80
80
  (0, _react.useEffect)(function () {
81
+ (0, _commonUtil.ensure)(function () {
82
+ return window._MAGIC_VERSION = '0.1.49';
83
+ });
81
84
  setTimeout(function () {
82
85
  var _a;
83
86
 
@@ -52,7 +52,7 @@ var newParseUrl = function newParseUrl(urlObj) {
52
52
 
53
53
  case _constants.urlTypeMap.STORE_CATEGORY:
54
54
  // 商品列表
55
- link = "/product/list/?storeCategory=" + value;
55
+ link = "/product/list/?storeCatgIds=" + value;
56
56
  params = {
57
57
  action: 'jump',
58
58
  params: {
@@ -45,6 +45,8 @@ var _common = require("../../common");
45
45
 
46
46
  var _storeUtil = require("../../utils/storeUtil");
47
47
 
48
+ var _commonUtil = require("../../utils/commonUtil");
49
+
48
50
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
49
51
 
50
52
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -602,6 +604,9 @@ function (_super) {
602
604
  });
603
605
  };
604
606
 
607
+ (0, _commonUtil.ensure)(function () {
608
+ return window._MAGIC_VERSION = '0.1.49';
609
+ });
605
610
  var pageData = props.pageData,
606
611
  config = props.config,
607
612
  outputType = props.outputType,
@@ -78,6 +78,9 @@ var Renderer = function Renderer(props) {
78
78
  };
79
79
 
80
80
  (0, _react.useEffect)(function () {
81
+ (0, _commonUtil.ensure)(function () {
82
+ return window._MAGIC_VERSION = '0.1.49';
83
+ });
81
84
  setTimeout(function () {
82
85
  var _a;
83
86
 
@@ -52,7 +52,7 @@ var newParseUrl = function newParseUrl(urlObj) {
52
52
 
53
53
  case _constants.urlTypeMap.STORE_CATEGORY:
54
54
  // 商品列表
55
- link = "/product/list/?storeCategory=" + value;
55
+ link = "/product/list/?storeCatgIds=" + value;
56
56
  params = {
57
57
  action: 'jump',
58
58
  params: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.1.47",
4
+ "version": "0.1.50",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",