From a730a8490ab2564591ec8ff95c2880ebef20812c Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Fri, 20 Oct 2017 17:44:58 +0800 Subject: [PATCH] update Tabs --- src/components/tabs/tabs.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/tabs/tabs.vue b/src/components/tabs/tabs.vue index bc9afd9..ff0a044 100644 --- a/src/components/tabs/tabs.vue +++ b/src/components/tabs/tabs.vue @@ -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(); }); } -- libgit2 0.21.4