@fonixtree/magic-design 0.1.23 → 0.1.25

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.
Files changed (31) hide show
  1. package/es/common/Collapse/index.js +4 -0
  2. package/es/common/LinkModal/MiniAppTable/index.js +250 -0
  3. package/es/common/LinkModal/index.js +6 -0
  4. package/es/composite-comp/bol/components/Banner/pc/index.js +11 -3
  5. package/es/composite-comp/bol/components/Banner/pc/index.less +2 -2
  6. package/es/composite-comp/bol/components/Carousel/mobile/index.js +4 -4
  7. package/es/composite-comp/bol/components/Carousel/pc/index.js +5 -4
  8. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +12 -40
  9. package/es/composite-comp/dito/components/PcNavigation/pc/index.less +42 -27
  10. package/es/constants/index.js +2 -1
  11. package/es/meta-comp/components/Image/index.js +1 -1
  12. package/es/meta-comp/config-panels/ButtonConfig/index.js +18 -1
  13. package/es/utils/businessUtil.js +12 -0
  14. package/es/utils/commonUtil.js +4 -0
  15. package/es/utils/coreUtil.js +0 -1
  16. package/lib/common/Collapse/index.js +4 -0
  17. package/lib/common/LinkModal/MiniAppTable/index.js +250 -0
  18. package/lib/common/LinkModal/index.js +6 -0
  19. package/lib/composite-comp/bol/components/Banner/pc/index.js +11 -3
  20. package/lib/composite-comp/bol/components/Banner/pc/index.less +2 -2
  21. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +4 -4
  22. package/lib/composite-comp/bol/components/Carousel/pc/index.js +5 -4
  23. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +12 -40
  24. package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +42 -27
  25. package/lib/constants/index.js +2 -1
  26. package/lib/meta-comp/components/Image/index.js +1 -1
  27. package/lib/meta-comp/config-panels/ButtonConfig/index.js +18 -1
  28. package/lib/utils/businessUtil.js +12 -0
  29. package/lib/utils/commonUtil.js +4 -0
  30. package/lib/utils/coreUtil.js +0 -1
  31. package/package.json +1 -1
@@ -266,6 +266,10 @@ function commonFetch(url, data, method) {
266
266
  }
267
267
 
268
268
  var navigateTo = function navigateTo(url) {
269
+ if (!url) {
270
+ return;
271
+ }
272
+
269
273
  if (!window.magicDesign || !window.magicDesign.history) {
270
274
  window.location.href = url;
271
275
  return;
@@ -292,7 +292,6 @@ var clickUrl = function clickUrl(url) {
292
292
  }
293
293
 
294
294
  console.log('clickUrl...', url);
295
- if (!url) return;
296
295
 
297
296
  if (window.magicDesign.mode !== 'renderer' || !url || window.magicDesign.outputType == 'html') {
298
297
  return;
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.23",
4
+ "version": "0.1.25",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",