Commit 630fd627 by chenwq

fix: 将按钮的loading属性改为disabled防止重复点击

修改重写和撤销按钮的loading属性为disabled,避免在加载状态下用户重复点击导致的问题
1 parent 66ffce17
......@@ -11,8 +11,8 @@
</div>
<template slot="footer">
<span class="dialog-footer">
<el-button plain size="small" class="btn-three" @click="clear" :loading="btnLoading || loading">重写</el-button>
<el-button plain size="small" class="btn-three" @click="undo" :loading="btnLoading || loading">撤销</el-button>
<el-button plain size="small" class="btn-three" @click="clear" :disabled="btnLoading || loading">重写</el-button>
<el-button plain size="small" class="btn-three" @click="undo" :disabled="btnLoading || loading">撤销</el-button>
<el-button type="primary" size="small" @click="save" :loading="btnLoading || loading">确定</el-button>
</span>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!