diff --git a/examples/routers/select.vue b/examples/routers/select.vue index 4292eeb..f1fa98d 100644 --- a/examples/routers/select.vue +++ b/examples/routers/select.vue @@ -7,7 +7,7 @@ remote :remote-method="remoteMethod1" :loading="loading1"> - <Option v-for="option in options1" :value="option.value" :key="new Date()">{{option.label}}</Option> + <Option v-for="(option, index) in options1" :value="option.value" :key="index">{{option.label}}</Option> </Select> </Col> <Col span="12"> @@ -18,7 +18,7 @@ remote :remote-method="remoteMethod2" :loading="loading2"> - <Option v-for="option in options2" :value="option.value" :key="new Date()">{{option.label}}</Option> + <Option v-for="(option, index) in options2" :value="option.value" :key="index">{{option.label}}</Option> </Select> </Col> </Row> -- libgit2 0.21.4