fixed bug ##205 now for user
This commit is contained in:
parent
e708498818
commit
8c981c705e
|
@ -72,6 +72,11 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
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.createMonth(this.date)
|
||||||
this.getAllUsers()
|
this.getAllUsers()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue