safecertcheck_format = new Date(safecertcheck_format)
const year = safecertcheck_format.getFullYear()+3;
const month = safecertcheck_format.getMonth() + 1;
const day = safecertcheck_format.getDate();this.dataForm.safecertwork = year+'-'+month+'-'+day
把时间加上三年,不考虑闰年啥的
最新推荐文章于 2021-06-23 10:16:36 发布