获取焦点优化

This commit is contained in:
2024-05-13 17:09:27 +08:00
parent b0b6916585
commit d2736c625d
8 changed files with 33 additions and 11 deletions

View File

@@ -20,8 +20,8 @@
</view>
<view class="filter_input_wraper">
<search-box
ref="scanChild"
v-model="val2"
:focused="true"
@handleChange="handleChange"
/>
</view>
@@ -126,6 +126,9 @@
created () {
// this._queryRawFoilList()
},
mounted () {
this.$refs.scanChild.handleFocus()
},
methods: {
searchList () {
this.pkId = ''