扫码
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user