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