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