mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 03:08:21 +08:00
fix(components): [message-box] vue wraning when button state is loading (#17603)
This commit is contained in:
parent
1af2641228
commit
ab494bb48a
@ -153,6 +153,7 @@
|
||||
import {
|
||||
computed,
|
||||
defineComponent,
|
||||
markRaw,
|
||||
nextTick,
|
||||
onBeforeUnmount,
|
||||
onMounted,
|
||||
@ -297,8 +298,8 @@ export default defineComponent({
|
||||
action: '' as Action,
|
||||
confirmButtonLoading: false,
|
||||
cancelButtonLoading: false,
|
||||
confirmButtonLoadingIcon: Loading,
|
||||
cancelButtonLoadingIcon: Loading,
|
||||
confirmButtonLoadingIcon: markRaw(Loading),
|
||||
cancelButtonLoadingIcon: markRaw(Loading),
|
||||
confirmButtonDisabled: false,
|
||||
editorErrorMessage: '',
|
||||
// refer to: https://github.com/ElemeFE/element/commit/2999279ae34ef10c373ca795c87b020ed6753eed
|
||||
|
Loading…
Reference in New Issue
Block a user