fix: [ElMessage] grouping mode default type (#6836)

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
This commit is contained in:
Xc 2022-03-31 10:46:53 +08:00 committed by GitHub
parent 7684dddac4
commit 0c905bbf7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ const message: MessageFn & Partial<Message> & { _context: AppContext | null } =
)
if (tempVm) {
tempVm.vm.component!.props.repeatNum += 1
tempVm.vm.component!.props.type = options?.type
tempVm.vm.component!.props.type = options?.type || 'info'
return {
close: () =>
((