diff --git a/examples/routers/tabs.vue b/examples/routers/tabs.vue
index e18eb4a0..43cee498 100644
--- a/examples/routers/tabs.vue
+++ b/examples/routers/tabs.vue
@@ -9,8 +9,8 @@
- {{tab.content}}
-
+ {{tab.content}}
+
diff --git a/src/components/tabs/tabs.vue b/src/components/tabs/tabs.vue
index e1c41464..b883f341 100644
--- a/src/components/tabs/tabs.vue
+++ b/src/components/tabs/tabs.vue
@@ -12,7 +12,7 @@
-
+
@@ -61,7 +61,7 @@
barWidth: 0,
barOffset: 0,
activeKey: this.value,
- showSlot:false
+ showSlot: false
};
},
computed: {
@@ -228,8 +228,8 @@
this.updateStatus();
}
},
- mounted(){
- this.showSlot = this.$slots.default !== undefined;
+ mounted () {
+ this.showSlot = this.$slots.extra !== undefined;
}
};