|
@@ -144,7 +144,10 @@ export default {
|
|
for(let i=0;i<self.topMenus.length;i++){
|
|
for(let i=0;i<self.topMenus.length;i++){
|
|
if(matched[0]){
|
|
if(matched[0]){
|
|
if(matched[0].path == self.topMenus[i].path){
|
|
if(matched[0].path == self.topMenus[i].path){
|
|
- store.dispatch('settings/setPageName', matched[0].meta.title)
|
|
|
|
|
|
+ if(matched[0].meta.title != '数据可视化'){
|
|
|
|
+ // console.log('matched[0].meta.title',matched[0].meta.title);
|
|
|
|
+ store.dispatch('settings/setPageName', matched[0].meta.title)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -155,7 +158,9 @@ export default {
|
|
let self = this;
|
|
let self = this;
|
|
for(let i=0;i<self.topMenus.length;i++){
|
|
for(let i=0;i<self.topMenus.length;i++){
|
|
if(key == self.topMenus[i].path){
|
|
if(key == self.topMenus[i].path){
|
|
- store.dispatch('settings/setPageName', self.topMenus[i].meta.title)
|
|
|
|
|
|
+ if(self.topMenus[i].meta.title != '数据可视化'){
|
|
|
|
+ store.dispatch('settings/setPageName', self.topMenus[i].meta.title)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.currentIndex = key;
|
|
this.currentIndex = key;
|