mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
feat: migrate IndexBar component
This commit is contained in:
@@ -58,6 +58,8 @@ export default createComponent({
|
||||
},
|
||||
},
|
||||
|
||||
emits: ['select'],
|
||||
|
||||
data() {
|
||||
return {
|
||||
activeAnchorIndex: null,
|
||||
@@ -245,7 +247,7 @@ export default createComponent({
|
||||
>
|
||||
{Indexes}
|
||||
</div>
|
||||
{this.slots('default')}
|
||||
{this.$slots.default?.()}
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
Reference in New Issue
Block a user