fix (接口定义): 去除添加用例按钮
This commit is contained in:
parent
c79a7732e7
commit
a24b001f24
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue