test
This commit is contained in:
parent
6c2c29cada
commit
102a7497bc
@ -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…
Reference in New Issue
Block a user