浏览代码

Merge branch 'master' of http://git.itqy8.com/vender/P0006

master
guzhenfu 2 年前
父节点
当前提交
69e95ba5e8
共有 1 个文件被更改,包括 20 次插入0 次删除
  1. +20
    -0
      src/view/main/main.vue

+ 20
- 0
src/view/main/main.vue 查看文件

@@ -172,6 +172,26 @@ export default {
this.setBreadCrumb(this.$route)
// 设置初始语言
this.setLocal(this.$i18n.locale)
let path = location.href;
if(path.indexOf('overview')>=0){
this.activeIndex = '1';
}
if(path.indexOf('about')>=0){
this.activeIndex = '2';
}
if(path.indexOf('vip-service')>=0){
this.activeIndex = '3';
}
if(path.indexOf('connect')>=0){
this.activeIndex = '4';
}
if(path.indexOf('exchange')>=0){
this.activeIndex = '8';
}
if(path.indexOf('km')>=0){
this.activeIndex = '9';
}

}
}
</script>


正在加载...
取消
保存