fix the tab bar dynamic bug

pull/1766/head
baiyaaaaa 2016-12-15 01:53:31 +08:00 committed by 杨奕
parent 0414842426
commit 5e692418ff
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@
if (this.index === oldValue) {
this.transition = oldValue > newValue ? 'slideInRight' : 'slideInLeft';
}
},
label() {
this.$parent.$forceUpdate();
}
}
};