Xxxu
2020-07-10 ba6f1581482971bfa86c38822b1737b41d243970
src/views/main-navbar.vue
@@ -13,6 +13,7 @@
          <el-row>
            <el-col :span="16" :offset="4">
              <center style="margin-top:2%">
                <img src="~@/assets/img/navbar/navbar_streetlight_icon.png" height="40px" style="margin-top:-20px">
                <span style="color:white;font-size:40px">智慧路灯大数据监控平台</span>
              </center>
            </el-col>
@@ -127,29 +128,29 @@
    methods: {
      handleSelect (key, keyPath) {
        switch (key) {
          case '1':{
          case '1': {
            this.$router.push({ name: 'home' })
            break;
            break
          }
          case '2':{
          case '2': {
            this.$router.push({ name: 'streetlight' })
            break;
            break
          }
          case '3':{
          case '3': {
            this.$router.push({ name: 'led' })
            break;
            break
          }
          case '4':{
          case '4': {
            this.$router.push({ name: 'charge' })
            break;
            break
          }
          case '5':{
          case '5': {
            this.$router.push({ name: 'camera' })
            break;
            break
          }
          case '6':{
          case '6': {
            this.$router.push({ name: 'weather' })
            break;
            break
          }
        }
      },