工作单位搜索组件样式调整

This commit is contained in:
mengxiaolong
2020-12-30 16:42:00 +08:00
parent f87c01f889
commit 4412b5231d

View File

@@ -135,8 +135,7 @@ export default {
}, },
methods: { methods: {
onInput(event) { onInput(event) {
this.value = event.target.value this.$emit('input', event.target.value)
this.$emit('input', this.value)
}, },
onInputBlur() { onInputBlur() {
this.showCustomer = false this.showCustomer = false
@@ -152,7 +151,6 @@ export default {
}) })
}, },
chooseCustomer(item) { chooseCustomer(item) {
this.searchContent = item.label
this.$emit('input', item.label) this.$emit('input', item.label)
this.showCustomer = false this.showCustomer = false
} }
@@ -167,6 +165,7 @@ export default {
color: #666; color: #666;
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
overflow: hidden;
} }
.search_box { .search_box {