btn 禁用事件

This commit is contained in:
Captain.B 2020-04-10 11:50:09 +08:00
parent 2d17d227eb
commit d4c33c53f6
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@
</el-form>
<template v-slot:footer>
<div class="dialog-footer">
<el-button type="primary" @click="submit('form')" size="medium">{{$t('commons.save')}}</el-button>
<el-button type="primary" onkeydown="return false;" @click="submit('form')" size="medium">
{{$t('commons.save')}}
</el-button>
</div>
</template>
</el-dialog>