@fonixtree/magic-design 1.0.224 → 1.0.225

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.
@@ -370,9 +370,10 @@ var clickUrl = function clickUrl(url, state) {
370
370
  }
371
371
 
372
372
  console.log('clickUrl....', url); // 只读模式,设计模式,url为空,邮箱模版
373
- // if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' || !url || window.magicDesign.outputType == 'html') {
374
- // return;
375
- // }
373
+
374
+ if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' || !url || window.magicDesign.outputType == 'html') {
375
+ return;
376
+ }
376
377
 
377
378
  var _b = _typeof(url) === 'object' ? (0, _businessUtil.newParseUrl)(url) : (0, _businessUtil.parseUrl)(url),
378
379
  link = _b.link,
@@ -370,9 +370,10 @@ var clickUrl = function clickUrl(url, state) {
370
370
  }
371
371
 
372
372
  console.log('clickUrl....', url); // 只读模式,设计模式,url为空,邮箱模版
373
- // if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' || !url || window.magicDesign.outputType == 'html') {
374
- // return;
375
- // }
373
+
374
+ if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' || !url || window.magicDesign.outputType == 'html') {
375
+ return;
376
+ }
376
377
 
377
378
  var _b = _typeof(url) === 'object' ? (0, _businessUtil.newParseUrl)(url) : (0, _businessUtil.parseUrl)(url),
378
379
  link = _b.link,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.224",
4
+ "version": "1.0.225",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",