Compare commits
2 Commits
9b38e6c8b6
...
a37b2b0eba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a37b2b0eba | ||
|
|
6ae90999e6 |
@ -425,7 +425,7 @@ export default {
|
|||||||
goToTab({path, disable}) {
|
goToTab({path, disable}) {
|
||||||
if (disable) {
|
if (disable) {
|
||||||
this.showComingSoon();
|
this.showComingSoon();
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.$router.push(path);
|
this.$router.push(path);
|
||||||
},
|
},
|
||||||
|
|||||||
@ -56,6 +56,10 @@ export default {
|
|||||||
return index === 2 ? '进入交易大厅' : '进入专题';
|
return index === 2 ? '进入交易大厅' : '进入专题';
|
||||||
},
|
},
|
||||||
goToHref(href) {
|
goToHref(href) {
|
||||||
|
if (href && href.startsWith('http')) {
|
||||||
|
window.open(href, '_blank');
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.messageShowing) return;
|
if (this.messageShowing) return;
|
||||||
|
|
||||||
this.messageShowing = true;
|
this.messageShowing = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user