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

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

View File

@ -2,8 +2,8 @@
<div class="dialog-footer">
<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 type="primary" v-if="isShow" @click="saveAsEdit" @keydown.enter.native.prevent>{{title}}</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 v-prevent-re-click type="primary" v-if="isShow" @click="saveAsEdit" @keydown.enter.native.prevent>{{title}}</el-button>
</div>
</template>