Поправил день, убрал вывод в консоль
	
		
			
	
		
	
	
		
	
		
			Some checks are pending
		
		
	
	
		
			
				
	
				Gitea Actions / Build and deploy (push) Waiting to run
				
			
		
	
	
				
					
				
			
		
			Some checks are pending
		
		
	
	Gitea Actions / Build and deploy (push) Waiting to run
				
			This commit is contained in:
		
							parent
							
								
									7c0f2897a2
								
							
						
					
					
						commit
						803d7a0af6
					
				|  | @ -55,13 +55,12 @@ export default { | |||
|     methods: { | ||||
|         getCurrentDay(){ | ||||
|             let date = new Date(); | ||||
|             console.log(date); | ||||
|             return date.getDay(); | ||||
|         }, | ||||
|         checkFriday(){ | ||||
|             this.isFirst = false; | ||||
|             let day = this.getCurrentDay(); | ||||
|             this.notFriday = day !== 4; | ||||
|             this.notFriday = day !== 5; | ||||
|             this.day = this.dayList[day]; | ||||
|             if (this.notFriday){ | ||||
|                 let prevPhrase = this.phrase; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue