update Select max-tag-placeholder type to Function, #5568
This commit is contained in:
parent
7435abb004
commit
38b5b76051
4 changed files with 10 additions and 5 deletions
|
@ -24,7 +24,7 @@
|
|||
<Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option>
|
||||
</Select>
|
||||
|
||||
<Select v-model="model10" :max-tag-count="3" max-tag-placeholder="more" multiple style="width:400px" prefix="ios-albums">
|
||||
<Select v-model="model10" :max-tag-count="3" :max-tag-placeholder="more" multiple style="width:400px" prefix="ios-albums">
|
||||
<Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option>
|
||||
</Select>
|
||||
|
||||
|
@ -82,6 +82,11 @@
|
|||
model1: '',
|
||||
model10: []
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
more (num) {
|
||||
return 'more' + num;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue