One - One Code All

Blog Content

laydate 时间框弹窗点击弹出后立马消失的问题解决

前端相关 WEB   2017-01-15 21:13:55

解决思路:为 laydate 添加 trigger: 'click' 属性

layui.laydate.render({
        elem: '#endDate',
        type: 'date',
        trigger: 'click' ,
        max: -1,
        done: function (value, date, endDate) {
            
        }
    });



上一篇:python里对浮点数变量判断是否相等equal,不可以直接用==
下一篇:Python中字典合并的多种方法

The minute you think of giving up, think of the reason why you held on so long.