update Select example
This commit is contained in:
parent
98bf25b3ce
commit
82d90c4f8f
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue