fix(接口定义): 修复只读用户可以添加mock的缺陷
This commit is contained in:
parent
c955de647b
commit
e5168577cd
|
@ -19,7 +19,7 @@
|
|||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-button type="primary" size="small" style="float: right;margin-right: 50px;" @click="saveMockExpectConfig"
|
||||
title="ctrl + s">{{
|
||||
title="ctrl + s" v-permission="['PROJECT_API_DEFINITION:READ+EDIT_API']">{{
|
||||
$t('commons.save')
|
||||
}}
|
||||
</el-button>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
:clearable="true"
|
||||
v-model="tableSearch"/>
|
||||
<el-button type="primary" style="float: right;margin-right: 10px" icon="el-icon-plus" size="small"
|
||||
v-permission="['PROJECT_API_DEFINITION:READ+EDIT_API']"
|
||||
@click="addApiMock">{{ $t('commons.add') }}
|
||||
</el-button>
|
||||
|
||||
|
|
Loading…
Reference in New Issue