mirror of https://github.com/halo-dev/halo
fix: #82 (halo-dev/console#95)
parent
e0b7da7a77
commit
ed6cc4a707
|
@ -6,7 +6,7 @@
|
||||||
allowClear
|
allowClear
|
||||||
mode="tags"
|
mode="tags"
|
||||||
placeholder="选择或输入标签"
|
placeholder="选择或输入标签"
|
||||||
@blur="handleBlur"
|
@change="handleChange"
|
||||||
>
|
>
|
||||||
<a-select-option
|
<a-select-option
|
||||||
v-for="tag in tags"
|
v-for="tag in tags"
|
||||||
|
@ -76,8 +76,8 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleBlur() {
|
handleChange() {
|
||||||
this.$log.debug('Blured')
|
this.$log.debug('Changed')
|
||||||
const tagNamesToCreate = this.selectedTagNames.filter(tagName => !this.tagNameMap[tagName])
|
const tagNamesToCreate = this.selectedTagNames.filter(tagName => !this.tagNameMap[tagName])
|
||||||
|
|
||||||
this.$log.debug('Tag names to create', tagNamesToCreate)
|
this.$log.debug('Tag names to create', tagNamesToCreate)
|
||||||
|
|
Loading…
Reference in New Issue