fix(测试跟踪): 用例列表批量复制按钮重复点击阻止

--bug=1024825 --user=宋昌昌 【测试跟踪】功能用例列表-批量复制-确定按钮可多次点击-发出多个请求 https://www.tapd.cn/55049933/s/1355926
This commit is contained in:
song-cc-rock 2023-03-27 14:36:33 +08:00 committed by fit2-zhao
parent 521c0de65d
commit 2d9d3e44ea

View File

@ -1,7 +1,7 @@
<template>
<div class="batch-operator-layout">
<div v-if="showOperators && showOperators.length > 0" class="showBtnGroup">
<el-button size="small" v-for="(operator, index) in showOperators" :disabled="isDisable(operator)" v-if="isXPack(operator)" @click="click(operator)" :key="index" :class="{'is-delete': operator.isDelete}">
<el-button size="small" v-for="(operator, index) in showOperators" :disabled="isDisable(operator)" v-if="isXPack(operator)" v-prevent-re-click @click.native.stop="click(operator)" :key="index" :class="{'is-delete': operator.isDelete}">
{{operator.name}}
</el-button>
</div>