fix(用户组和权限): 工作空间下模版管理菜单权限问题#1004966

This commit is contained in:
shiziyuan9527 2021-07-08 17:25:30 +08:00 committed by 刘瑞斌
parent 12494471f2
commit 2e6f5ad761
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
{{ $t(menu.title) }}
</el-menu-item>
<el-submenu index="3-1"
v-permission="['WORKSPACE_TEMPLATE:READ+CASE_TEMPLATE', 'WORKSPACE_TEMPLATE:READ+ISSUE_TEMPLATE', 'WORKSPACE_TEMPLATE:READ+CUSTOM', 'WORKSPACE_TEMPLATE:READ+REPORT_TEMPLATE']">
v-permission="['WORKSPACE_TEMPLATE:READ']">
<template slot="title">模板管理</template>
<el-menu-item v-for="menu in workspaceTemplate" v-permission="menu.permissions" :key="menu.index" :index="menu.index" class="setting-item">
{{ $t(menu.title) }}