修复了周一
This commit is contained in:
		
							parent
							
								
									617735df20
								
							
						
					
					
						commit
						9e3e522057
					
				@ -93,8 +93,8 @@ export function getweek(time: string, id: string,zhou?: number){
 | 
			
		||||
    const day = now.date() // 当前天
 | 
			
		||||
    zhou = now.day(); // 当前周几
 | 
			
		||||
    const year = now.year()
 | 
			
		||||
    const startd = now.day(1).date();
 | 
			
		||||
    const start = `${year}-${yue}-${startd}`
 | 
			
		||||
    const startd = now.day(0).date();
 | 
			
		||||
    const start = `${year}-${yue}-${startd > 9 ? startd : '0' + startd}`
 | 
			
		||||
    interface Date{
 | 
			
		||||
        day: string;
 | 
			
		||||
        list?: Array<any>;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user