mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [message-box] vue wraning when button state is loading (#17603)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user