mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Tab): should scroll into view when title changed
This commit is contained in:
parent
bd4624e7b1
commit
c919e9deda
@ -44,6 +44,7 @@ export default createComponent({
|
||||
watch: {
|
||||
title() {
|
||||
this.parent.setLine();
|
||||
this.parent.scrollIntoView();
|
||||
},
|
||||
|
||||
inited(val) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user