fix(接口测试): 修复只有执行权限,没有执行按钮的缺陷

--bug=1026686 --user=王孝刚 【接口测试】github#24751,1.20.23LTS 配置调试权限不生效
https://www.tapd.cn/55049933/s/1379397
This commit is contained in:
wxg0103 2023-06-07 10:08:32 +08:00 committed by wxg0103
parent 1b550f4c90
commit 0aa0b45e91
1 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,8 @@
<el-tooltip v-if="!debugLoading" content="Ctrl + R" placement="top">
<el-dropdown split-button type="primary" @click="runDebug" class="ms-message-right" size="mini"
@command="handleCommand"
v-permission="['PROJECT_API_SCENARIO:READ+EDIT', 'PROJECT_API_SCENARIO:READ+CREATE', 'PROJECT_API_SCENARIO:READ+COPY']">
v-permission="['PROJECT_API_SCENARIO:READ+EDIT', 'PROJECT_API_SCENARIO:READ+CREATE', 'PROJECT_API_SCENARIO:READ+COPY',
'PROJECT_API_SCENARIO:READ+RUN', 'PROJECT_API_SCENARIO:READ+DEBUG']">
{{ $t('api_test.request.debug') }}
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>{{ $t('api_test.automation.generate_report') }}</el-dropdown-item>