Browse Source

test

pull/56/merge
sentsin 7 years ago
parent
commit
102a7497bc
  1. 4
      examples/laydate.html

4
examples/laydate.html

@ -133,10 +133,12 @@ layui.use('laydate', function(){
laydate.render({ laydate.render({
elem: '#test2' elem: '#test2'
,format: 'y年MM月dd日' ,format: 'y年MM月dd日'
,value: new Date().getFullYear() + '年' + lay.digit(new Date().getMonth() + 1) + '月' + lay.digit(new Date().getDate()) + '日'
,max: 0
//,value: new Date(2017,7,20) //,value: new Date(2017,7,20)
//,min: '2016-10-14' //,min: '2016-10-14'
//,max: -1 //,max: -1
,value: '1989年10月14日' //,value: '1989年10月14日'
,ready: function(date){ ,ready: function(date){
console.log(date); console.log(date);
} }

Loading…
Cancel
Save