Xxxu
2020-07-10 ba6f1581482971bfa86c38822b1737b41d243970
src/views/main-navbar.vue
@@ -128,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
          }
        }
      },