|
|
|
@ -128,7 +128,15 @@ export default { |
|
|
|
}, |
|
|
|
gotoPage(item){ |
|
|
|
this.read(item) |
|
|
|
this.$tab.openPage(" ",item.url) |
|
|
|
|
|
|
|
let index = _.findIndex(this.$store.state.tagsView.visitedViews,(tab)=>{ |
|
|
|
return tab.path === item.url |
|
|
|
}) |
|
|
|
if(index>-1){ |
|
|
|
this.$tab.refreshPage(this.$store.state.tagsView.visitedViews[index]); |
|
|
|
}else{ |
|
|
|
this.$tab.openPage(" ",item.url) |
|
|
|
} |
|
|
|
}, |
|
|
|
refreshNoticeCount(){ |
|
|
|
this.$store.dispatch('GetMenuCount').then(() => { |
|
|
|
|