凌云

Results 1 issues of 凌云

var startDate = laydate.render({ elem: '#startDate', //指定元素 #startDate是一个input type: 'date', format: 'yyyy年MM月dd日', isInitValue: true, //是否允许填充初始值,默认为 true done: function(value, date, endDate) { /*回调里修改了type 和format 发现type的修改生效了,但是formar的修改没有生效,看源码发现是没有更新this.format、that.EXP_IF和that.EXP_SPLIT。(PS:这里只是举例,实际项目中是通过别的按钮触发改变type和format 事件的。) */ startDate .config.type = 'month';...