mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Tab: resize line when title changed (#1260)
This commit is contained in:
parent
8db65c7f5b
commit
97d518ed3e
@ -40,6 +40,10 @@ export default create({
|
|||||||
watch: {
|
watch: {
|
||||||
'parent.curActive'() {
|
'parent.curActive'() {
|
||||||
this.inited = this.inited || this.isSelected;
|
this.inited = this.inited || this.isSelected;
|
||||||
|
},
|
||||||
|
|
||||||
|
title() {
|
||||||
|
this.parent.setLine();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user