element 时间插件在移动端,阻止键盘弹出

@focus = 'forbid '
然后操作dom
forbid () {

  document.activeElement.blur()
  this.$nextTick(() => {
    let inputTime = document.querySelectorAll('.el-input__inner')
    inputTime.forEach(item => {
      item.addEventListener('focus', () => {
        document.activeElement.blur()
      })
    })
  })
},
原文地址:https://www.cnblogs.com/loveMis/p/14717704.html