网上找的,这个加号有点不懂,先记下来
function dateAdd(startDate) {
  startDate = new Date(startDate);
  startDate = +startDate + 1000 * 60 * 60 * 24;
  startDate = new Date(startDate);
  var nextStartDate = startDate.getFullYear() + “-” + (startDate.getMonth() + 1) + “-” + startDate.getDate();
  return nextStartDate;
}

版权声明:本文为lubo原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/lubo/p/9323736.html