fix(CellGroup): render error in loop (#8787)

This commit is contained in:
neverland 2021-05-31 20:40:58 +08:00 committed by GitHub
parent e97f5cea71
commit 71b16941c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ function CellGroup(
if (props.title || slots.title) {
return (
<div>
<div key={ctx.data.key}>
<div class={bem('title')}>
{slots.title ? slots.title() : props.title}
</div>