fix(测试跟踪): 功能用例创建页面防止重复点击
--bug=1023078 --user=陈建星 【测试跟踪】功能用例,新建用例,保存、保存并添加到公共用例库,保存后还是在新建页面 https://www.tapd.cn/55049933/s/1337267
This commit is contained in:
parent
cb86921c1b
commit
409373e0a9
|
@ -246,19 +246,22 @@
|
||||||
<!-- 保存并新建 -->
|
<!-- 保存并新建 -->
|
||||||
<div class="save-create-row">
|
<div class="save-create-row">
|
||||||
<el-button
|
<el-button
|
||||||
size="small"
|
|
||||||
@click="handleCommand(2)"
|
|
||||||
v-if="showAddBtn"
|
v-if="showAddBtn"
|
||||||
:disabled="readOnly">
|
v-prevent-re-click
|
||||||
|
size="small"
|
||||||
|
:disabled="readOnly || loading"
|
||||||
|
@click="handleCommand(2)">
|
||||||
{{ $t("case.saveAndCreate") }}
|
{{ $t("case.saveAndCreate") }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<!-- 保存并添加到公共用例库 -->
|
<!-- 保存并添加到公共用例库 -->
|
||||||
<div
|
<div
|
||||||
class="save-add-pub-row"
|
v-if="showPublic"
|
||||||
v-if="showPublic"
|
class="save-add-pub-row">
|
||||||
@click="handleCommand(3)">
|
<el-button size="small"
|
||||||
<el-button size="small" :disabled="readOnly">
|
v-prevent-re-click
|
||||||
|
:disabled="readOnly || loading"
|
||||||
|
@click="handleCommand(3)">
|
||||||
{{ $t("test_track.case.save_add_public") }}
|
{{ $t("test_track.case.save_add_public") }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -266,7 +269,12 @@
|
||||||
<div
|
<div
|
||||||
class="save-btn-row"
|
class="save-btn-row"
|
||||||
v-if="showAddBtn">
|
v-if="showAddBtn">
|
||||||
<el-button size="small" @click="handleCommand(1)" :disabled="readOnly" type="primary">
|
<el-button
|
||||||
|
v-prevent-re-click
|
||||||
|
size="small"
|
||||||
|
type="primary"
|
||||||
|
:disabled="readOnly || loading"
|
||||||
|
@click="handleCommand(1)">
|
||||||
{{ $t("commons.save") }}
|
{{ $t("commons.save") }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue