fixed #186
This commit is contained in:
梁灏 2017-01-13 16:46:20 +08:00
parent c35c53d830
commit f5ecd16777
2 changed files with 31 additions and 17 deletions

View file

@ -1,16 +1,9 @@
<template>
<Row style="width: 400px">
<i-col span="12" style="padding-right:10px">
<i-select :model.sync="model11" filterable>
<i-option v-for="item in cityList" :value="item.value">{{ item.label }}</i-option>
</i-select>
</i-col>
<i-col span="12">
<i-select :model.sync="model12" filterable multiple>
<i-option v-for="item in cityList" :value="item.value">{{ item.label }}</i-option>
</i-select>
</i-col>
</Row>
<i-select :model.sync="model7" style="width:200px"
filterable>
<i-option v-for="item in cityList | limitBy 3" :value="item.value">{{ item.label }}</i-option>
<i-option v-for="item in cityList | limitBy 3 3" :value="item.value">{{ item.label }}</i-option>
</i-select>
</template>
<script>
export default {
@ -42,8 +35,7 @@
label: '重庆市'
}
],
model11: '',
model12: []
model7: ''
}
}
}