This commit is contained in:
梁灏 2017-09-19 16:45:02 +08:00
parent e7ad415432
commit 0460a1e811
11 changed files with 211 additions and 53 deletions

View file

@ -5,6 +5,7 @@
ref="reference"
@click="toggleMenu">
<slot name="input">
<input type="hidden" :name="name" :value="model">
<div class="ivu-tag" v-for="(item, index) in selectedMultiple">
<span class="ivu-tag-text">{{ item.label }}</span>
<Icon type="ios-close-empty" @click.native.stop="removeTag(index)"></Icon>
@ -131,6 +132,9 @@
autoComplete: {
type: Boolean,
default: false
},
name: {
type: String
}
},
data () {