📅  最后修改于: 2022-03-11 15:01:44.429000             🧑  作者: Mango
defaultInputDate() {
var now = new Date();
var day = ("0" + now.getDate()).slice(-2);
var month = ("0" + (now.getMonth() + 1)).slice(-2);
var today = now.getFullYear() + "-" + month + "-" + day;
return today;
}