mirror of https://github.com/ElemeFE/element
fix the tab bar dynamic bug
parent
0414842426
commit
5e692418ff
|
@ -70,6 +70,9 @@
|
||||||
if (this.index === oldValue) {
|
if (this.index === oldValue) {
|
||||||
this.transition = oldValue > newValue ? 'slideInRight' : 'slideInLeft';
|
this.transition = oldValue > newValue ? 'slideInRight' : 'slideInLeft';
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
label() {
|
||||||
|
this.$parent.$forceUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue