
比如我现在点击的是字母C,实际上弹出的字母是A,为什么会出现这种不对应的情况?
<view v-for="(item, index) in indexList" :key="index">
<u-index-anchor :index="item" />
<view class="list-cell">
列表1
</view>
<view class="list-cell">
列表2
</view>
<view class="list-cell">
列表3
</view>
</view>
</u-index-list>
const indexList = ref<any []>([
"A", "B", "C", "D", "E"
])