@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.
- package/es/utils/coreUtil.js +4 -3
- package/lib/utils/coreUtil.js +4 -3
- package/package.json +1 -1
package/es/utils/coreUtil.js
CHANGED
|
@@ -370,9 +370,10 @@ var clickUrl = function clickUrl(url, state) {
|
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
console.log('clickUrl....', url); // 只读模式,设计模式,url为空,邮箱模版
|
|
373
|
-
|
|
374
|
-
|
|
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/lib/utils/coreUtil.js
CHANGED
|
@@ -370,9 +370,10 @@ var clickUrl = function clickUrl(url, state) {
|
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
console.log('clickUrl....', url); // 只读模式,设计模式,url为空,邮箱模版
|
|
373
|
-
|
|
374
|
-
|
|
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,
|