Merge remote-tracking branch 'origin/1.2.0' into 1.2.0

master
Harry Yang 2023-01-03 10:42:58 +08:00
commit 670e6f657b
1 changed files with 4 additions and 0 deletions

View File

@ -416,11 +416,15 @@
layui.use('laydate', function(){
var laydate = layui.laydate;
var startMonth = $("#startMonth").val();
console.log("startMonth: " + startMonth);
laydate.render({
elem: '#endMonth',
type: 'month',
btns: ['confirm'],
trigger: 'click',
min: startMonth + '-1',
ready: function(date){
console.log(date);
}