mirror of
https://github.com/youzan/vant.git
synced 2025-12-13 02:00:53 +08:00
[bugfix] Tab: active not work (#572)
This commit is contained in:
@@ -75,7 +75,7 @@ export default create({
|
|||||||
},
|
},
|
||||||
|
|
||||||
tabs(tabs) {
|
tabs(tabs) {
|
||||||
this.correctActive(this.curActive);
|
this.correctActive(this.curActive || this.active);
|
||||||
this.setNavBar();
|
this.setNavBar();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user