fix(系统设置): 首页权限登陆查看缺少模块显示

--bug=1018781 --user=李玉号 【系统设置】用户只开启接口、测试跟踪、性能的首页权限登陆查看缺少模块显示
https://www.tapd.cn/55049933/s/1275892
This commit is contained in:
shiziyuan9527 2022-10-25 10:46:59 +08:00 committed by 刘瑞斌
parent 466e04879d
commit 6b5e87da6b
1 changed files with 3 additions and 3 deletions

View File

@ -15,14 +15,14 @@
</div>
</el-menu-item>
<el-menu-item index="/track" v-if="check('track')" onselectstart="return false"
v-permission="['PROJECT_TRACK_CASE:READ','PROJECT_TRACK_PLAN:READ','PROJECT_TRACK_REVIEW:READ', 'PROJECT_TRACK_ISSUE:READ', 'PROJECT_TRACK_REPORT:READ']">
v-permission="['PROJECT_TRACK_HOME:READ', 'PROJECT_TRACK_CASE:READ','PROJECT_TRACK_PLAN:READ','PROJECT_TRACK_REVIEW:READ', 'PROJECT_TRACK_ISSUE:READ', 'PROJECT_TRACK_REPORT:READ']">
<div>
<svg-icon iconClass="track" class-name="ms-menu-img"/>
<span slot="title" class="ms-menu-item-title">{{ $t('test_track.test_track') }}</span>
</div>
</el-menu-item>
<el-menu-item index="/api" @click="active()" v-if="check('api')" onselectstart="return false"
v-permission="['PROJECT_API_DEFINITION:READ','PROJECT_API_SCENARIO:READ','PROJECT_API_REPORT:READ']">
v-permission="['PROJECT_API_HOME:READ', 'PROJECT_API_DEFINITION:READ','PROJECT_API_SCENARIO:READ','PROJECT_API_REPORT:READ']">
<div>
<svg-icon iconClass="api" class-name="ms-menu-img"/>
<span slot="title" class="ms-menu-item-title">{{ $t('commons.api') }}</span>
@ -43,7 +43,7 @@
</el-menu-item>
<el-menu-item index="/performance" v-if="check('performance')"
onselectstart="return false"
v-permission="['PROJECT_PERFORMANCE_TEST:READ','PROJECT_PERFORMANCE_REPORT:READ']">
v-permission="['PROJECT_PERFORMANCE_HOME:READ', 'PROJECT_PERFORMANCE_TEST:READ','PROJECT_PERFORMANCE_REPORT:READ']">
<div>
<svg-icon iconClass="performance" class-name="ms-menu-img"/>
<span slot="title" class="ms-menu-item-title">{{ $t('commons.performance') }}</span>