mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-23 23:19:15 +08:00
chore(Tag): remove useless key
This commit is contained in:
parent
ef38d75fa4
commit
5849af1ff0
@ -56,16 +56,12 @@ export default createComponent({
|
||||
|
||||
return (
|
||||
<Transition name={closeable ? 'van-fade' : null}>
|
||||
{show ? (
|
||||
<span
|
||||
key="content"
|
||||
style={style.value}
|
||||
class={bem([classes, type])}
|
||||
>
|
||||
{show && (
|
||||
<span style={style.value} class={bem([classes, type])}>
|
||||
{slots.default?.()}
|
||||
{CloseIcon}
|
||||
</span>
|
||||
) : null}
|
||||
)}
|
||||
</Transition>
|
||||
);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user