Skip to content

Commit 18dd766

Browse files
committed
Merge branch 'dev'
2 parents bf03aed + a4492cc commit 18dd766

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/uni-indexed-list/uni-indexed-list.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@
169169
if (item) {
170170
this.scrollViewId = 'uni-indexed-list-' + item.key
171171
this.touchmoveIndex = index
172+
// #ifdef APP-NVUE
173+
dom.scrollToElement(this.$refs['uni-indexed-list-' + item.key][0], {
174+
animated: false
175+
})
176+
// #endif
172177
}
173178
},
174179
touchMove(e) {

0 commit comments

Comments
 (0)