再用vue的时间控件的时候

Vue问题1:TypeError:date.getHours is not a function

遇到了如下的问题:

Vue问题1:TypeError:date.getHours is not a function

解决方法:在<el-date-picker></el-date-picker>时间控件加上value-format="yyyy-MM-dd"

Vue问题1:TypeError:date.getHours is not a function

以防出现date.getTimes is not a function以下的applyTime设置为null

Vue问题1:TypeError:date.getHours is not a function


时间控件输入框的校验的type=“date”去除;

Vue问题1:TypeError:date.getHours is not a function


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
猜你喜欢
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2021-08-06
相关资源
相似解决方案