Skip to content

Commit

Permalink
fix: 批量删除按钮添加loading状态
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuikill committed Jun 25, 2024
1 parent 544cb27 commit 8817d49
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
:is-show="isShow"
:title="title"
:theme="'primary'"
:loading="pending"
quick-close
ext-cls="delete-confirm-dialog"
@closed="handleClose">
<slot></slot>
<template #footer>
<bk-button theme="primary" @click="emits('confirm')" style="margin-right: 8px">
<bk-button theme="primary" @click="emits('confirm')" :loading="pending" style="margin-right: 8px">
{{ confirmText || t('删除') }}
</bk-button>
<bk-button @click="handleClose">{{ t('取消') }}</bk-button>
Expand Down

0 comments on commit 8817d49

Please sign in to comment.