获取焦点优化
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box
|
||||
ref="scanChild"
|
||||
v-model="val2"
|
||||
:focused="true"
|
||||
@handleChange="handleChange"
|
||||
/>
|
||||
</view>
|
||||
@@ -112,6 +112,9 @@
|
||||
created () {
|
||||
this._queryRawFoilList()
|
||||
},
|
||||
mounted () {
|
||||
this.$refs.scanChild.handleFocus()
|
||||
},
|
||||
methods: {
|
||||
searchList () {
|
||||
this.pkId = ''
|
||||
|
||||
Reference in New Issue
Block a user