mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +08:00
fix tabs
This commit is contained in:
parent
6ffe94bd4c
commit
e68568b61f
@ -57,7 +57,7 @@
|
|||||||
* `type`为`line`时,tab下方的横线的样式
|
* `type`为`line`时,tab下方的横线的样式
|
||||||
*/
|
*/
|
||||||
navBarStyle() {
|
navBarStyle() {
|
||||||
if (!this.isReady || type !== 'line') return;
|
if (!this.isReady || this.type !== 'line') return;
|
||||||
|
|
||||||
const tabKey = this.curActive;
|
const tabKey = this.curActive;
|
||||||
const elem = this.$refs.tabkey[tabKey];
|
const elem = this.$refs.tabkey[tabKey];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user