pull/96/head
Ryan Wang 2020-03-12 14:42:48 +08:00 committed by GitHub
parent 13977ef94e
commit 3a3eb84f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
allowClear
mode="tags"
placeholder="选择或输入标签"
@blur="handleBlur"
@change="handleChange"
>
<a-select-option
v-for="tag in tags"
@ -76,8 +76,8 @@ export default {
}
})
},
handleBlur() {
this.$log.debug('Blured')
handleChange() {
this.$log.debug('Changed')
const tagNamesToCreate = this.selectedTagNames.filter(tagName => !this.tagNameMap[tagName])
this.$log.debug('Tag names to create', tagNamesToCreate)