dev_zt
parent
9ed8b251cb
commit
2d49a12157
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<ul>
|
||||
<li v-for="(item,i) in menus" :class="activeI === i? 'active-menu' : ''" @click="activeI = i, go(item.val)"> {{ item.name }} </li>
|
||||
<li v-for="(item,i) in menus" :class="activeI === i? 'active-menu' : ''" @click="activeI = i, go(item.val)" :key="i"> {{ item.name }} </li>
|
||||
</ul>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -49,12 +49,6 @@
|
|||
{{ item.value }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>数值</td>
|
||||
<td v-for="(item, index) in tableHeader" :key="index">
|
||||
{{ item.value }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
:router="true"
|
||||
:default-active="currentPath"
|
||||
>
|
||||
<el-menu-item :index="list.index" v-for="(list, i) of state.menuList"
|
||||
<el-menu-item :index="list.index" v-for="(list, i) of state.menuList" :key="i"
|
||||
><i class="el-icon-data-line" />{{list.name}}</el-menu-item
|
||||
>
|
||||
</el-menu>
|
||||
|
|
Loading…
Reference in New Issue