mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
[bugfix] Tab: resize line when title changed (#1260)
This commit is contained in:
@@ -40,6 +40,10 @@ export default create({
|
||||
watch: {
|
||||
'parent.curActive'() {
|
||||
this.inited = this.inited || this.isSelected;
|
||||
},
|
||||
|
||||
title() {
|
||||
this.parent.setLine();
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user