mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 20:27:44 +08:00
fix: [alert] description value in title's class (#9771)
This commit is contained in:
parent
f90d3aa6ac
commit
4d1cb2dbe5
@ -65,9 +65,9 @@ const iconClass = computed(() => [
|
||||
{ [ns.is('big')]: !!props.description || !!slots.default },
|
||||
])
|
||||
|
||||
const isBoldTitle = computed(
|
||||
() => props.description || { [ns.is('bold')]: slots.default }
|
||||
)
|
||||
const isBoldTitle = computed(() => {
|
||||
return { [ns.is('bold')]: props.description || slots.default }
|
||||
})
|
||||
|
||||
const close = (evt: MouseEvent) => {
|
||||
visible.value = false
|
||||
|
Loading…
Reference in New Issue
Block a user