chore: use gen instead of render (#4922)
This commit is contained in:
+2
-2
@@ -53,7 +53,7 @@ export default createComponent({
|
||||
}
|
||||
},
|
||||
|
||||
renderChildren() {
|
||||
genChildren() {
|
||||
if (this.animated) {
|
||||
return (
|
||||
<div class={bem('track')} style={this.style}>
|
||||
@@ -72,7 +72,7 @@ export default createComponent({
|
||||
class={bem('content', { animated: this.animated })}
|
||||
{...{ on: this.listeners }}
|
||||
>
|
||||
{this.renderChildren()}
|
||||
{this.genChildren()}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user