mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[bugfix] Tab: resize line when title changed (#1260)
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user