This commit is contained in:
Captain.B 2020-02-26 16:36:51 +08:00
parent 2b5ce5a44e
commit 0f4fab3092
3 changed files with 7 additions and 7 deletions

View File

@ -10,11 +10,11 @@
<el-menu-item index="1" v-permission="['test_manager','test_user','test_viewer']">
功能测试
</el-menu-item>
<el-menu-item index="/createTest" onselectstart="return false"
<el-menu-item index="/allTest" onselectstart="return false"
v-permission="['test_manager','test_user','test_viewer']">
性能测试
</el-menu-item>
<el-menu-item index="/setting" onselectstart="return false">系统设置</el-menu-item>
<el-menu-item index="/setting/personsetting" onselectstart="return false">系统设置</el-menu-item>
</el-menu>
</template>

View File

@ -1,5 +1,5 @@
<template>
<div>
<el-menu>
<div class="recent-text">
<i class="el-icon-time"/>
{{$t('project.recent')}}
@ -7,7 +7,7 @@
<el-menu-item :key="recentProject.id" v-for="recentProject in recentProjects" @click="goTest(recentProject)">
{{ recentProject.name }}
</el-menu-item>
</div>
</el-menu>
</template>
<script>

View File

@ -1,13 +1,13 @@
<template>
<div>
<el-menu>
<div class="recent-text">
<i class="el-icon-time"/>
最近的测试
</div>
<el-menu-item v-bind:key="recentTestPlan.id" v-for="recentTestPlan in recentTestPlans">
<el-menu-item :key="recentTestPlan.id" v-for="recentTestPlan in recentTestPlans">
{{ recentTestPlan.name }}
</el-menu-item>
</div>
</el-menu>
</template>
<script>