xbx #236

Merged
theluyuan merged 3 commits from xbx into master 2020-12-07 03:20:41 +00:00
Showing only changes of commit 9e3e522057 - Show all commits

View File

@ -93,8 +93,8 @@ export function getweek(time: string, id: string,zhou?: number){
const day = now.date() // 当前天 const day = now.date() // 当前天
zhou = now.day(); // 当前周几 zhou = now.day(); // 当前周几
const year = now.year() const year = now.year()
const startd = now.day(1).date(); const startd = now.day(0).date();
const start = `${year}-${yue}-${startd}` const start = `${year}-${yue}-${startd > 9 ? startd : '0' + startd}`
interface Date{ interface Date{
day: string; day: string;
list?: Array<any>; list?: Array<any>;