mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 18:36:51 +08:00
[bugfix] Tab: active not work (#572)
This commit is contained in:
parent
63ef879568
commit
e3ef5c853e
@ -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();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user