mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
fix(Tab): should scroll into view when title changed
This commit is contained in:
@@ -44,6 +44,7 @@ export default createComponent({
|
||||
watch: {
|
||||
title() {
|
||||
this.parent.setLine();
|
||||
this.parent.scrollIntoView();
|
||||
},
|
||||
|
||||
inited(val) {
|
||||
|
Reference in New Issue
Block a user