获取焦点优化
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box
|
||||
ref="scanChild"
|
||||
v-model="val1"
|
||||
:focused="true"
|
||||
@handleChange="handleChange"
|
||||
/>
|
||||
</view>
|
||||
@@ -77,6 +77,9 @@
|
||||
disabled2: false
|
||||
};
|
||||
},
|
||||
mounted () {
|
||||
this.$refs.scanChild.handleFocus()
|
||||
},
|
||||
methods: {
|
||||
handleChange (e) {
|
||||
this._customerInfo(e)
|
||||
|
||||
Reference in New Issue
Block a user