摘要: getAge(strAge) { let birArr = strAge.split("-"); let birYear = birArr[0]; let birMonth = birArr[1]; let birDay = birArr[2]; d = new Date(); var nowYea 阅读全文
posted @ 2020-10-21 19:41 曦雨幽兰 阅读(326) 评论(0) 推荐(0) 编辑
摘要: getDateValue(entry){ var year, month,day;//差值 //出生日期 var dateArr = entry.split("-"); var entryYear = parseInt(dateArr[0]); var entryMonth = parseInt(d 阅读全文
posted @ 2020-10-21 19:40 曦雨幽兰 阅读(313) 评论(0) 推荐(0) 编辑