[bugfix] Tab: resize line when title changed (#1260)

This commit is contained in:
neverland 2018-06-11 15:46:57 +08:00 committed by GitHub
parent 8db65c7f5b
commit 97d518ed3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,10 @@ export default create({
watch: {
'parent.curActive'() {
this.inited = this.inited || this.isSelected;
},
title() {
this.parent.setLine();
}
},