搜索输入

This commit is contained in:
2022-10-15 11:03:56 +08:00
parent 1ff8c7c2b7
commit fb46d26127

View File

@@ -33,10 +33,8 @@
},
methods: {
handleChange ($event) {
if ($event.target.value) {
this.cur = $event.target.value
this.$emit('input', this.cur)
}
this.cur = $event.target.value
this.$emit('input', this.cur)
},
toSearch () {
this.$emit('toSearch', this.cur)