fix(测试跟踪): 顶部菜单权限问题#1006295

--bug=1006295 --user=lyh 【github#5753】权限问题:用户组和权限只配置缺陷相关权限,无法查看
https://www.tapd.cn/55049933/s/1042476
This commit is contained in:
shiziyuan9527 2021-08-31 17:58:47 +08:00 committed by 刘瑞斌
parent 63d55ba3db
commit 653e7a57ca
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
router> router>
<el-menu-item index="/track" v-if="check('testTrack')" onselectstart="return false" <el-menu-item index="/track" v-if="check('testTrack')" onselectstart="return false"
v-permission="['PROJECT_TRACK_CASE:READ','PROJECT_TRACK_PLAN:READ','PROJECT_TRACK_REVIEW:READ']"> v-permission="['PROJECT_TRACK_CASE:READ','PROJECT_TRACK_PLAN:READ','PROJECT_TRACK_REVIEW:READ', 'PROJECT_TRACK_ISSUE:READ', 'PROJECT_TRACK_REPORT:READ']">
{{ $t('test_track.test_track') }} {{ $t('test_track.test_track') }}
</el-menu-item> </el-menu-item>
<el-menu-item index="/api" @click="active()" v-if="check('api')" onselectstart="return false" <el-menu-item index="/api" @click="active()" v-if="check('api')" onselectstart="return false"

View File

@ -26,7 +26,7 @@
{{ $t('test_track.issue.issue_management') }} {{ $t('test_track.issue.issue_management') }}
</el-menu-item> </el-menu-item>
<el-menu-item :index="'/track/testPlan/reportList'" popper-class="submenu"> <el-menu-item :index="'/track/testPlan/reportList'" popper-class="submenu" v-permission="['PROJECT_TRACK_REPORT:READ']">
{{ $t("commons.report") }} {{ $t("commons.report") }}
</el-menu-item> </el-menu-item>
</el-menu> </el-menu>