|
@@ -1430,7 +1430,10 @@ var vNode = {
|
|
|
this.pageState.transparent = true
|
|
|
}
|
|
|
this.$nextTick(function () {
|
|
|
- $('.van-tabs__wrap .van-tab:eq('+index+')').trigger('click')
|
|
|
+ var target = $('.van-tabs__wrap .van-tab:eq('+index+')').trigger('click')
|
|
|
+ setTimeout(function () {
|
|
|
+ target[0].scrollIntoView()
|
|
|
+ }, 300)
|
|
|
})
|
|
|
},
|
|
|
savePageState: function () {
|