在使用laydate渲染日期时:
laydate.render({
    elem: '#day'
});

提示日期格式不合法

laydate.render报错:日期格式不合法

 

 需要使用 too.dateType()来包装

<input type="text" id="day" class="form-control" value="${tool.dateType(item.completeTime)}" placeholder="日期">

 

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2021-07-14
  • 2022-12-23
  • 2021-09-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2021-11-23
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
相关资源
相似解决方案