在使用laydate渲染日期时:
laydate.render({
elem: '#day'
});
提示日期格式不合法
需要使用 too.dateType()来包装
<input type="text" id="day" class="form-control" value="${tool.dateType(item.completeTime)}" placeholder="日期">
标签:laydate,render,合法,日期,报错,格式
来源: https://www.cnblogs.com/taiguyiba/p/11988422.html