问题:date.getHours is not a function;

【已解决】date.getHours is not a function问题


分析:v-model="emp.beginDate" 中的emp.beginDate是一个数组,而data里面的beginDate:"2018/01/01"是一个字符串,不符合!

【已解决】date.getHours is not a function问题

【已解决】date.getHours is not a function问题


解决方法:

【已解决】date.getHours is not a function问题

beginDate:"2018/01/01"改为 beginDate:'2018/01/01',

【已解决】date.getHours is not a function问题

成功解决!!!

相关文章:

  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-15
  • 2021-09-06
  • 2022-12-23
  • 2021-07-13
  • 2021-06-21
  • 2022-12-23
相关资源
相似解决方案