<input type="text" class="input_but" ref="elInput" @confirm="doSearch" readonly="readonly" confirm-type="search" :focus="isFocus" v-model="input" style="font-size: 22rpx;" value="" placeholder="输入序号查询" />
onShow() {
this.input = null
uni.hideKeyboard(); //隐藏软键盘
this.isFocus = false;
this.$nextTick(() => {
this.input = ''
this.isFocus = true;
})
},
1***@qq.com
不行啊 我也遇到这个问题了
2024-01-10 16:49