[bugfix] Tab: active not work (#572)

This commit is contained in:
neverland 2018-01-24 15:31:07 +08:00 committed by GitHub
parent 63ef879568
commit e3ef5c853e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ export default create({
},
tabs(tabs) {
this.correctActive(this.curActive);
this.correctActive(this.curActive || this.active);
this.setNavBar();
},