diff --git a/src/components/tabs/pane.vue b/src/components/tabs/pane.vue
index fff167b..6654acf 100644
--- a/src/components/tabs/pane.vue
+++ b/src/components/tabs/pane.vue
@@ -28,9 +28,6 @@
show: true
};
},
- computed: {
-
- },
methods: {
updateNav () {
this.$parent.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 786d9aa..1d5f738 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 ecf028e..a5976a6 100644
--- a/test/routers/tabs.vue
+++ b/test/routers/tabs.vue
@@ -1,12 +1,23 @@
-
+ add{{more}}
+
标签一的内容
标签二的内容
标签三的内容
+ 标签四的内容
--
libgit2 0.21.4