mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +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