Поправил день, убрал вывод в консоль
Some checks are pending
Gitea Actions / Build and deploy (push) Waiting to run

This commit is contained in:
p.belezov 2024-04-18 13:47:20 +08:00
parent 7c0f2897a2
commit 803d7a0af6

View File

@ -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;