搜索输入
This commit is contained in:
@@ -33,10 +33,8 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange ($event) {
|
handleChange ($event) {
|
||||||
if ($event.target.value) {
|
this.cur = $event.target.value
|
||||||
this.cur = $event.target.value
|
this.$emit('input', this.cur)
|
||||||
this.$emit('input', this.cur)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
toSearch () {
|
toSearch () {
|
||||||
this.$emit('toSearch', this.cur)
|
this.$emit('toSearch', this.cur)
|
||||||
|
|||||||
Reference in New Issue
Block a user