mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
chore: use gen instead of render (#4922)
This commit is contained in:
@@ -312,7 +312,7 @@ export default createComponent({
|
||||
}
|
||||
},
|
||||
|
||||
renderIndicator() {
|
||||
genIndicator() {
|
||||
const { count, activeIndicator } = this;
|
||||
const slot = this.slots('indicator');
|
||||
|
||||
@@ -349,7 +349,7 @@ export default createComponent({
|
||||
>
|
||||
{this.slots()}
|
||||
</div>
|
||||
{this.renderIndicator()}
|
||||
{this.genIndicator()}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user