摘要: 下面代码实际测试是没有问题的。$("#date").click(function () { var temp = new Date(2018,7,7); alert(temp); // 原来是2018年8月7日,加6个月后应该是2019年2月7日 temp.setMonth(temp.getMont 阅读全文
posted @ 2019-08-28 17:01 阿拉灯参丁 阅读(1742) 评论(0) 推荐(0)