vue移动端,解决focus无效 主要是通过ref <input type="text" class="content" v-model="content" ref="content"/> <span @click="handleClick">使input获得焦点</span> handleClick(label){ this.$refs.content.focus() },