fix (接口定义): 去除添加用例按钮

This commit is contained in:
fit2-zhao 2021-10-14 18:27:33 +08:00 committed by fit2-zhao
parent c79a7732e7
commit a24b001f24
1 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@
</div>
</el-col>
<el-col :span="4">
<el-col :span="5">
<div>
<ms-environment-select
:project-id="projectId"
@ -53,10 +53,10 @@
@setEnvironment="setEnvironment" ref="environmentSelect"/>
</div>
</el-col>
<el-col :span="1" v-if="!(isReadOnly || isCaseEdit)">
<el-button size="small" type="primary" @click="addCase" v-permission="['PROJECT_API_DEFINITION:READ+CREATE_CASE']">+{{ $t('api_test.definition.request.case') }}
</el-button>
</el-col>
<!-- <el-col :span="1" v-if="!(isReadOnly || isCaseEdit) && !(this.$store.state.currentApiCase && this.$store.state.currentApiCase.case)">-->
<!-- <el-button size="small" type="primary" @click="addCase" v-permission="['PROJECT_API_DEFINITION:READ+CREATE_CASE']">+{{ $t('api_test.definition.request.case') }}-->
<!-- </el-button>-->
<!-- </el-col>-->
</el-row>
</el-card>