mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-26 04:27:26 +08:00
refactor(components): [message-box] remove duplicates conditional (#21634)
refactor(components): [message-box] rm redundant conditional expression
This commit is contained in:
@ -80,9 +80,8 @@
|
||||
:is="showInput ? 'label' : 'p'"
|
||||
v-if="!dangerouslyUseHTMLString"
|
||||
:for="showInput ? inputId : undefined"
|
||||
>
|
||||
{{ !dangerouslyUseHTMLString ? message : '' }}
|
||||
</component>
|
||||
v-text="message"
|
||||
/>
|
||||
<component
|
||||
:is="showInput ? 'label' : 'p'"
|
||||
v-else
|
||||
|
Reference in New Issue
Block a user