Commit a730a8490ab2564591ec8ff95c2880ebef20812c

Authored by 梁灏
1 parent ec1a5e26

update Tabs

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/components/tabs/tabs.vue
@@ -69,10 +69,10 @@ @@ -69,10 +69,10 @@
69 barOffset: 0, 69 barOffset: 0,
70 activeKey: this.value, 70 activeKey: this.value,
71 showSlot: false, 71 showSlot: false,
72 - navStyle:{ 72 + navStyle: {
73 transform: '' 73 transform: ''
74 }, 74 },
75 - scrollable:false 75 + scrollable: false
76 }; 76 };
77 }, 77 },
78 computed: { 78 computed: {
@@ -319,7 +319,7 @@ @@ -319,7 +319,7 @@
319 this.updateBar(); 319 this.updateBar();
320 this.updateStatus(); 320 this.updateStatus();
321 this.broadcast('Table', 'on-visible-change', true); 321 this.broadcast('Table', 'on-visible-change', true);
322 - this.$nextTick(function(){ 322 + this.$nextTick(() => {
323 this.scrollToActiveTab(); 323 this.scrollToActiveTab();
324 }); 324 });
325 } 325 }