<form action="#">
<input type="text" v-model="searchInfo" @keyup.enter="choose">
<input type="text" style="display: none;">
</form>
用form包裹可以解决手机回车搜索的,为了解决第一次搜索,输入框清空,所以需要再加一个输入框
<form action="#">
<input type="text" v-model="searchInfo" @keyup.enter="choose">
<input type="text" style="display: none;">
</form>
用form包裹可以解决手机回车搜索的,为了解决第一次搜索,输入框清空,所以需要再加一个输入框