update Tabs

This commit is contained in:
梁灏 2017-10-20 17:44:58 +08:00
parent ec1a5e2684
commit a730a8490a

View file

@ -69,10 +69,10 @@
barOffset: 0,
activeKey: this.value,
showSlot: false,
navStyle:{
navStyle: {
transform: ''
},
scrollable:false
scrollable: false
};
},
computed: {
@ -319,7 +319,7 @@
this.updateBar();
this.updateStatus();
this.broadcast('Table', 'on-visible-change', true);
this.$nextTick(function(){
this.$nextTick(() => {
this.scrollToActiveTab();
});
}