|
@@ -172,8 +172,20 @@ export default {
|
|
|
const item = this.navs[navIndex]
|
|
|
this.setActiveIcon(key)
|
|
|
this.$emit('change', item)
|
|
|
- callChangeTab(item.key, this.$router)
|
|
|
- this.getCount()
|
|
|
+ if(!this.isLogin) {
|
|
|
+ if (item.key === 'subscribe') {
|
|
|
+ // TODO 跳转到订阅引导页
|
|
|
+ location.replace('/jyapp/freesubscribe/')
|
|
|
+ } else if (item.key === 'box') {
|
|
|
+ // TODO 跳转到工作台引导页
|
|
|
+ location.replace('/jyapp/workbench/')
|
|
|
+ } else {
|
|
|
+ callChangeTab(item.key, this.$router)
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ callChangeTab(item.key, this.$router)
|
|
|
+ this.getCount()
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|