|
@@ -140,16 +140,18 @@ export default {
|
|
|
if (navIndex === -1) {
|
|
|
return
|
|
|
}
|
|
|
- const item = this.navs[navIndex]
|
|
|
+ // const item = this.navs[navIndex]
|
|
|
this.setActiveIcon(key)
|
|
|
if (key === 'subscribe') {
|
|
|
window.location.replace('/jyapp/frontPage/seo/free/subscribe')
|
|
|
} else if (key === 'box') {
|
|
|
window.location.replace('/jyapp/frontPage/seo/free/workbench')
|
|
|
- } else {
|
|
|
- this.$router.replace({
|
|
|
- name: `tabbar-${item.key}`
|
|
|
- })
|
|
|
+ } else if(key === 'message') {
|
|
|
+ window.location.href = '/jyapp/free/login?url=/jyapp/frontPage/messageCenter/sess/index'
|
|
|
+ } else if(key === 'me') {
|
|
|
+ window.location.href = '/jyapp/free/login?url=/jyapp/free/me'
|
|
|
+ } else if(key === 'home') {
|
|
|
+ window.location.replace('/')
|
|
|
}
|
|
|
}
|
|
|
}
|