diff --git a/src/components/user/Jobs.vue b/src/components/user/Jobs.vue index 77e322d..bedfa10 100644 --- a/src/components/user/Jobs.vue +++ b/src/components/user/Jobs.vue @@ -72,6 +72,11 @@ export default { } }, created() { + for (let intDate = 1; intDate < 7; intDate++) { + if (new Date(this.date.getFullYear(), this.date.getMonth(), intDate).getDay() === 3) + if (this.date.getDate() < intDate) + this.date = new Date(this.date.getFullYear(), this.date.getMonth(), 0) + } this.createMonth(this.date) this.getAllUsers() },