@fonixtree/magic-design 1.0.195 → 1.0.196
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 +2 -6
- package/lib/utils/coreUtil.js +2 -6
- package/package.json +1 -1
package/es/utils/coreUtil.js
CHANGED
|
@@ -434,12 +434,8 @@ var clickUrl = function clickUrl(url, state) {
|
|
|
434
434
|
window.open(link);
|
|
435
435
|
}
|
|
436
436
|
} else {
|
|
437
|
-
if (isPc()) {
|
|
438
|
-
|
|
439
|
-
window.location.href += link;
|
|
440
|
-
} else {
|
|
441
|
-
window.location.href += "web" + link;
|
|
442
|
-
}
|
|
437
|
+
if (isPc() && link.indexOf('/poster/') === -1) {
|
|
438
|
+
window.location.href += "web" + link;
|
|
443
439
|
} else {
|
|
444
440
|
(0, _commonUtil.navigateTo)(link, state);
|
|
445
441
|
}
|
package/lib/utils/coreUtil.js
CHANGED
|
@@ -434,12 +434,8 @@ var clickUrl = function clickUrl(url, state) {
|
|
|
434
434
|
window.open(link);
|
|
435
435
|
}
|
|
436
436
|
} else {
|
|
437
|
-
if (isPc()) {
|
|
438
|
-
|
|
439
|
-
window.location.href += link;
|
|
440
|
-
} else {
|
|
441
|
-
window.location.href += "web" + link;
|
|
442
|
-
}
|
|
437
|
+
if (isPc() && link.indexOf('/poster/') === -1) {
|
|
438
|
+
window.location.href += "web" + link;
|
|
443
439
|
} else {
|
|
444
440
|
(0, _commonUtil.navigateTo)(link, state);
|
|
445
441
|
}
|