解决van-search自动聚焦失败
focusEvent(){
this.$nextTick(() => {
try {
const input = document.getElementsByClassName("van-field__control")[0];
input.focus();
} catch (e) {}
});
},
在mounted或activated时引入上述代码即可解决