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