焦点优化
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box
|
||||
ref="scanChild"
|
||||
v-model="val1"
|
||||
:focused="focusedStatus"
|
||||
@handleChange="handleChange"
|
||||
/>
|
||||
</view>
|
||||
@@ -113,7 +113,6 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
focusedStatus: true,
|
||||
modelShow: false,
|
||||
value: '1',
|
||||
val0: '',
|
||||
@@ -144,6 +143,9 @@
|
||||
this.checkCode = option.checkcode
|
||||
// this._checkQueryDtl()
|
||||
},
|
||||
mounted () {
|
||||
this.$refs.scanChild.handleFocus()
|
||||
},
|
||||
methods: {
|
||||
goIn () {
|
||||
uni.navigateTo({
|
||||
@@ -197,7 +199,7 @@
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.focusedStatus = true
|
||||
this.$refs.scanChild.handleFocus()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
@@ -218,7 +220,7 @@
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.focusedStatus = true
|
||||
this.$refs.scanChild.handleFocus()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
|
||||
Reference in New Issue
Block a user