We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当切换日历年份的时候,每月对应的日期和星期匹配不正确,比如切换到2016年12月1日时,匹配的星期为星期五(Fr),但其实应该是星期四(Th),看了源码发现是在298和299行 ---- 298. let startDay = new Date(this.year, this.tmpMonth, 1).getDay() 299. let previousMongthLength = new Date(this.year, this.tmpMonth, 0).getDate() 获取当前选择的年份使用的是this.year ,修改为 this.tmpYear 即可。
The text was updated successfully, but these errors were encountered:
🐛 #7
494af02
65e7cf6
多谢提醒,已修改。
Sorry, something went wrong.
No branches or pull requests
当切换日历年份的时候,每月对应的日期和星期匹配不正确,比如切换到2016年12月1日时,匹配的星期为星期五(Fr),但其实应该是星期四(Th),看了源码发现是在298和299行 ----
298. let startDay = new Date(this.year, this.tmpMonth, 1).getDay()
299. let previousMongthLength = new Date(this.year, this.tmpMonth, 0).getDate()
获取当前选择的年份使用的是this.year ,修改为 this.tmpYear 即可。
The text was updated successfully, but these errors were encountered: