layui laydate 设置日期格式 最大值等

        laydate.render({

            elem: "#jhsj",
            format: 'yyyy-MM',
            type: 'month', //显示月份   year  显示到年

                    max : "new Date()" //最大时间为系统当前时间
        });
原文地址:https://www.cnblogs.com/luo1240465012/p/14737906.html