Skip to content

Commit

Permalink
fix: 使用默认删除方法提供loading状态 (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoyuf authored Oct 30, 2020
1 parent 15b4c11 commit 9998fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/el-data-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ export default {
* @param {object|object[]} - 要删除的数据对象或数组
*/
onDefaultDelete(data) {
this.$confirm(this.deleteMessage(data), '提示', {
return this.$confirm(this.deleteMessage(data), '提示', {
type: 'warning',
confirmButtonClass: 'el-button--danger',
beforeClose: async (action, instance, done) => {
Expand Down

0 comments on commit 9998fde

Please sign in to comment.