lipengtao 6 anni fa
parent
commit
1acc9be002
1 ha cambiato i file con 5 aggiunte e 11 eliminazioni
  1. 5 11
      src/views/nav/index.vue

+ 5 - 11
src/views/nav/index.vue

@ -1,6 +1,5 @@
1 1
<template>
2 2
<el-menu style='display:flex'
3
  :default-active="activeIndex2"
4 3
  class="el-menu-demo"
5 4
  mode="horizontal"
6 5
  @select="handleSelect"
@ -8,22 +7,17 @@
8 7
  text-color="#fff"
9 8
  active-text-color="#ffd04b">
10 9
  <el-menu-item index="/show/home" router>首页</el-menu-item>     
11
  <el-menu-item index="/show/medicalTreatment" router>协同诊疗</el-menu-item>   
12
  <el-menu-item index="/show/intelligentJudgment" router>AI智能判断</el-menu-item>      
13
  <el-menu-item index="/show/sharedDevice" router>共享器械</el-menu-item>
14
  <el-menu-item index="/show/hospital" router>医院</el-menu-item>
10
  <el-menu-item index="/show/medicalTreatment" route>协同诊疗</el-menu-item>   
11
  <el-menu-item index="/show/intelligentJudgment" route>AI智能判断</el-menu-item>      
12
  <el-menu-item index="/show/sharedDevice" route>共享器械</el-menu-item>
13
  <el-menu-item index="/show/hospital" route>医院</el-menu-item>
15 14
</el-menu>
16 15
</template>
17 16
<script>
18 17
  export default {
19
    data() {
20
      return {
21
        activeIndex: '1',
22
        activeIndex2: '1'
23
      }
24
    },
25 18
    methods: {
26 19
      handleSelect(key, keyPath) {
20
        this.$router.push(key)
27 21
      }
28 22
    }
29 23
  }