Commit a730a8490ab2564591ec8ff95c2880ebef20812c
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 | 69 | barOffset: 0, |
70 | 70 | activeKey: this.value, |
71 | 71 | showSlot: false, |
72 | - navStyle:{ | |
72 | + navStyle: { | |
73 | 73 | transform: '' |
74 | 74 | }, |
75 | - scrollable:false | |
75 | + scrollable: false | |
76 | 76 | }; |
77 | 77 | }, |
78 | 78 | computed: { |
... | ... | @@ -319,7 +319,7 @@ |
319 | 319 | this.updateBar(); |
320 | 320 | this.updateStatus(); |
321 | 321 | this.broadcast('Table', 'on-visible-change', true); |
322 | - this.$nextTick(function(){ | |
322 | + this.$nextTick(() => { | |
323 | 323 | this.scrollToActiveTab(); |
324 | 324 | }); |
325 | 325 | } | ... | ... |