赞
踩
const getWeekDate = () => { var date = new Date(); var day = date.getDay(); var names = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"]; return names[day]; }