fix(接口测试): 修复接口创建权限没有保存按钮的需求
--bug=1027247 --user=王孝刚 【接口测试】项目管理员开启创建接口权限但创建页面没有保存 https://www.tapd.cn/55049933/s/1384936
This commit is contained in:
parent
c8e14fd1b2
commit
bf1cb7727d
|
@ -25,7 +25,12 @@
|
|||
:version-data="versionData"
|
||||
:current-id="basisData.id"
|
||||
@compare="compare" @checkout="checkout" @create="create" @del="del"/>
|
||||
<el-button type="primary" size="small" @click="saveApi" title="ctrl + s">{{ $t('commons.save') }}</el-button>
|
||||
<el-button type="primary" size="small" @click="saveApi" title="ctrl + s"
|
||||
v-permission="[
|
||||
'PROJECT_API_DEFINITION:READ+EDIT_API',
|
||||
'PROJECT_API_DEFINITION:READ+CREATE_API',
|
||||
'PROJECT_API_DEFINITION:READ+COPY_API'
|
||||
]">{{ $t('commons.save') }}</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
|
@ -25,7 +25,11 @@
|
|||
:current-id="httpForm.id"
|
||||
@compare="compare" @checkout="checkout" @create="create" @del="del"/>
|
||||
<el-button type="primary" size="small" @click="saveApi" title="ctrl + s"
|
||||
v-permission="['PROJECT_API_DEFINITION:READ+EDIT_API']">{{ $t('commons.save') }}
|
||||
v-permission="[
|
||||
'PROJECT_API_DEFINITION:READ+EDIT_API',
|
||||
'PROJECT_API_DEFINITION:READ+CREATE_API',
|
||||
'PROJECT_API_DEFINITION:READ+COPY_API'
|
||||
]">{{ $t('commons.save') }}
|
||||
</el-button>
|
||||
</div>
|
||||
<br/>
|
||||
|
|
|
@ -24,7 +24,12 @@
|
|||
:version-data="versionData"
|
||||
:current-id="basisData.id"
|
||||
@compare="compare" @checkout="checkout" @create="create" @del="del"/>
|
||||
<el-button type="primary" size="small" @click="saveApi" title="ctrl + s">{{ $t('commons.save') }}</el-button>
|
||||
<el-button type="primary" size="small" @click="saveApi" title="ctrl + s"
|
||||
v-permission="[
|
||||
'PROJECT_API_DEFINITION:READ+EDIT_API',
|
||||
'PROJECT_API_DEFINITION:READ+CREATE_API',
|
||||
'PROJECT_API_DEFINITION:READ+COPY_API'
|
||||
]">{{ $t('commons.save') }}</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
|
@ -24,7 +24,12 @@
|
|||
:version-data="versionData"
|
||||
:current-id="basisData.id"
|
||||
@compare="compare" @checkout="checkout" @create="create" @del="del"/>
|
||||
<el-button type="primary" size="small" @click="saveApi" title="ctrl + s">{{ $t('commons.save') }}</el-button>
|
||||
<el-button type="primary" size="small" @click="saveApi" title="ctrl + s"
|
||||
v-permission="[
|
||||
'PROJECT_API_DEFINITION:READ+EDIT_API',
|
||||
'PROJECT_API_DEFINITION:READ+CREATE_API',
|
||||
'PROJECT_API_DEFINITION:READ+COPY_API'
|
||||
]">{{ $t('commons.save') }}</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
Loading…
Reference in New Issue