|
|
@@ -24,7 +24,11 @@ export default {
|
|
|
this.$router.push(`/hall?id=${info.linkContent}${props}`);
|
|
|
} else if (info.link && info.linkType === 'hyperlink') {
|
|
|
if (info.linkContent.indexOf('http') !== -1) {
|
|
|
- window.location.href = info.linkContent;
|
|
|
+ if (new URL(info.linkContent).origin === location.origin) {
|
|
|
+ this.$router.push(info.linkContent.replace(location.origin, ''));
|
|
|
+ } else {
|
|
|
+ window.location.href = info.linkContent;
|
|
|
+ }
|
|
|
} else {
|
|
|
this.$router.push(`${info.linkContent}${props}`);
|
|
|
}
|