This commit is contained in:
2022-11-30 12:10:49 +08:00
parent 1d3240dc7e
commit fbaab6b342
3 changed files with 10 additions and 17 deletions

View File

@@ -35,7 +35,7 @@
handleChange ($event) {
this.cur = $event.target.value
this.$emit('input', this.cur)
this.$emit('handleChange', this.cur)
this.$emit('handleChange', this.cur)
},
toSearch () {
this.$emit('toSearch', this.cur)
@@ -50,6 +50,7 @@
uni.scanCode({
success: (res) => {
this.$emit('input', res.result)
this.$emit('handleChange', res.result)
},
fail: (err) => {
// uni.showToast({