laydate.render设置结束时间大于开始时间,且两者时间相差不超过3天
/时间控件设置/
if ($(".select-time").length > 0) {
layui.use(‘laydate’, function() {
var laydate = layui.laydate;
var startType = $(’#startTime’).attr(“data-type”) || ‘date’;
var endType = $(’#endTime’).attr(“data-type”) || ‘date’;
var startDate = laydate.ren
原创
2020-10-12 16:04:51 ·
1706 阅读 ·
0 评论