added lists to the ui and the store

This commit is contained in:
ori
2019-05-01 19:46:22 +03:00
parent d073f6fcd2
commit 406a9f2021
4 changed files with 32 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
<h4>{{title.charAt(0).toUpperCase() + title.slice(1)}} :</h4>
</Col>
<Col span="4">
<i-select v-model="value" size="small" v-bind:placeholder="list[0]" @on-change="handleInput">
<i-select v-model="value" size="small" @on-change="handleInput">
<i-option v-for="item in list" :value="item" :key="item">{{item}}</i-option>
</i-select>
</Col>