|
|
@@ -9,6 +9,12 @@ export default {
|
|
|
this.$router.push(`/activityDetail?id=${info.linkContent}${props}`);
|
|
|
} else if (info.link && info.linkType === 'collections') {
|
|
|
this.$router.push(`/productSearch?search=${info.linkContent}${props}`);
|
|
|
+ } else if(info.link && info.linkType === 'externalLink') {
|
|
|
+ if (info.linkContent.indexOf('http') !== -1) {
|
|
|
+ window.location.href = info.linkContent;
|
|
|
+ } else {
|
|
|
+ this.$router.push(`${info.linkContent}${props}`);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|