diff --git a/src/components/select/option.vue b/src/components/select/option.vue
index 932008b..535e487 100644
--- a/src/components/select/option.vue
+++ b/src/components/select/option.vue
@@ -58,7 +58,7 @@
this.hidden = !new RegExp(val, 'i').test(this.searchLabel);
}
},
- ready () {
+ compiled () {
this.searchLabel = this.$el.innerHTML;
},
events: {
diff --git a/test/routers/select.vue b/test/routers/select.vue
index d67691a..72ccf95 100644
--- a/test/routers/select.vue
+++ b/test/routers/select.vue
@@ -1,67 +1,24 @@
- i-selelct加入width样式
- i-selelct没有加入width样式
-
-
-
- {{ item.label }}
-
-
-
-
-
- {{ item.label }}
-
-
+
+
+ 北京
+ Beiing
+
+
+ 上海
+ ShangHai
+
+
+ 深圳
+ ShenZhen
+
+