ios上input的focus()、autofocus无效

mounted钩子函数增长focusjavascript

<input ref="tel" type="tel">

mounted () {
    this.$refs.tel.focus()
  }
相关文章
相关标签/搜索