refactor(测试跟踪): 部分编辑页防止重复点击保存

This commit is contained in:
chenjianxing 2022-05-16 11:25:04 +08:00 committed by shiziyuan9527
parent b5c0f0d4df
commit 8c8e15a593
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
<div class="dialog-footer"> <div class="dialog-footer">
<el-button @click="cancel" :size="btnSize">{{$t('commons.cancel')}}</el-button> <el-button @click="cancel" :size="btnSize">{{$t('commons.cancel')}}</el-button>
<el-button type="primary" @click="confirm" @keydown.enter.native.prevent :size="btnSize">{{$t('commons.confirm')}}</el-button> <el-button v-prevent-re-click type="primary" @click="confirm" @keydown.enter.native.prevent :size="btnSize">{{$t('commons.confirm')}}</el-button>
<el-button type="primary" v-if="isShow" @click="saveAsEdit" @keydown.enter.native.prevent>{{title}}</el-button> <el-button v-prevent-re-click type="primary" v-if="isShow" @click="saveAsEdit" @keydown.enter.native.prevent>{{title}}</el-button>
</div> </div>
</template> </template>