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