diff --git a/src/components/tabs/pane.vue b/src/components/tabs/pane.vue
index fff167b9..6654acff 100644
--- a/src/components/tabs/pane.vue
+++ b/src/components/tabs/pane.vue
@@ -27,9 +27,6 @@
prefixCls: prefixCls,
show: true
};
- },
- computed: {
-
},
methods: {
updateNav () {
@@ -46,6 +43,9 @@
disabled () {
this.updateNav();
}
+ },
+ ready () {
+ this.updateNav();
}
};
diff --git a/src/components/tabs/tabs.vue b/src/components/tabs/tabs.vue
index 786d9aa2..1d5f7388 100644
--- a/src/components/tabs/tabs.vue
+++ b/src/components/tabs/tabs.vue
@@ -202,9 +202,6 @@
this.updateNav();
}
},
- compiled () {
- this.updateNav();
- },
watch: {
activeKey () {
this.updateBar();
diff --git a/test/routers/tabs.vue b/test/routers/tabs.vue
index ecf028e9..a5976a66 100644
--- a/test/routers/tabs.vue
+++ b/test/routers/tabs.vue
@@ -1,12 +1,23 @@
-
+ add{{more}}
+
标签一的内容
标签二的内容
标签三的内容
+ 标签四的内容