设置dateBox初始日期为当前日期

var curr_date = new Date();
var str = curr_date.getFullYear() + "-";
str += curr_date.getMonth() + 1 + "-";
str += curr_date.getDate();
//设置有效起始日期为当前日期
that.uiStore.dtbBegDate.setText(str);

 

posted on 2018-11-13 11:32  一颗豆豆  阅读(464)  评论(0编辑  收藏  举报

导航