mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 20:19:16 +08:00
fix(接口测试): 修复快速点击保存接口,会保存多个接口的缺陷
--bug=1025426 --user=王孝刚 【接口测试】创建接口-保存多次点击-创建接口重复了 https://www.tapd.cn/55049933/s/1362873
This commit is contained in:
parent
269184fe2c
commit
8cff2e8379
@ -49,6 +49,7 @@
|
||||
type="primary"
|
||||
size="small"
|
||||
@click="saveTestCase"
|
||||
v-prevent-re-click
|
||||
@command="handleCommand">
|
||||
{{ $t('commons.save') }}
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
|
@ -46,7 +46,7 @@
|
||||
@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" v-prevent-re-click title="ctrl + s">{{ $t('commons.save') }}</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -50,6 +50,7 @@
|
||||
type="primary"
|
||||
size="small"
|
||||
@click="saveApi"
|
||||
v-prevent-re-click
|
||||
title="ctrl + s"
|
||||
v-permission="['PROJECT_API_DEFINITION:READ+EDIT_API']"
|
||||
>{{ $t('commons.save') }}
|
||||
|
@ -46,7 +46,7 @@
|
||||
@create="create"
|
||||
@setLatest="setLatest"
|
||||
@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-prevent-re-click>{{ $t('commons.save') }}</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -46,7 +46,7 @@
|
||||
@create="create"
|
||||
@setLatest="setLatest"
|
||||
@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-prevent-re-click>{{ $t('commons.save') }}</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
Loading…
Reference in New Issue
Block a user