ios上input的focus()、autofocus无效 mounted钩子函数增加focus <input ref="tel" type="tel"> mounted () { this.$refs.tel.focus() }