Merge 1c4d421af9
into bfc0c1bf6d
commit
5a30bf39bc
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
14
gulpfile.js
14
gulpfile.js
|
@ -46,20 +46,26 @@ gulp.task('other', task.other); //移动一些配件
|
|||
gulp.task('clearZip', function(cb){ //清理
|
||||
return del(['./release/zip/*'], cb);
|
||||
});
|
||||
gulp.task('r', ['clearZip'], function(){
|
||||
gulp.task('r', gulp.series('clearZip', function(){
|
||||
gulp.src('./release/doc/**/*')
|
||||
.pipe(gulp.dest(releaseDir))
|
||||
|
||||
return gulp.src('./dist/**/*')
|
||||
.pipe(gulp.dest(releaseDir + '/laydate'))
|
||||
});
|
||||
}));
|
||||
|
||||
//全部
|
||||
gulp.task('default', ['clear'], function(){
|
||||
// gulp.task('default', ['clear'], function(){
|
||||
// for(var key in task){
|
||||
// task[key]();
|
||||
// }
|
||||
// });
|
||||
//全部
|
||||
gulp.task('default', gulp.series('clear', function(){
|
||||
for(var key in task){
|
||||
task[key]();
|
||||
}
|
||||
});
|
||||
}));
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -379,7 +379,7 @@
|
|||
,value: null //默认日期,支持传入new Date(),或者符合format参数设定的日期格式字符
|
||||
,min: '1900-1-1' //有效最小日期,年月日必须用“-”分割,时分秒必须用“:”分割。注意:它并不是遵循 format 设定的格式。
|
||||
,max: '2099-12-31' //有效最大日期,同上
|
||||
,trigger: 'focus' //呼出控件的事件
|
||||
,trigger: 'click' //呼出控件的事件:原默认为focus,2019年3月起 Google Chrome 版本 73.0.3683.86(正式版本) (64 位)下会频繁出现鼠标点击input内,时间选择器显示并很快消失的情况,故改为默认click
|
||||
,show: false //是否直接显示,如果设置true,则默认直接显示控件
|
||||
,showBottom: true //是否显示底部栏
|
||||
,btns: ['clear', 'now', 'confirm'] //右下角显示的按钮,会按照数组顺序排列
|
||||
|
|
Loading…
Reference in New Issue