new Date(年-月)时间是8点

new Date('2018-02')获取的小时是8时
解决
new Date('2018-2')获取的小时是0时

posted on 2018-03-02 15:47  daV_chen  阅读(194)  评论(0编辑  收藏  举报

导航