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