已解决,需要设置选中样式.
当前日期没显示选中样式[代码]<[代码][代码]calendar[代码][代码] [代码][代码]:cur-year[代码][代码]=[代码][代码]"curYear"[代码][代码] [代码][代码]:cur-month[代码][代码]=[代码][代码]"curMonth"[代码][代码] [代码][代码]:day[代码][代码]=[代码][代码]"day"[代码][代码] [代码][代码]:header_show[代码][代码]=[代码][代码]"header_show"[代码][代码] [代码][代码]:prev[代码][代码]=[代码][代码]"prev"[代码][代码] [代码][代码]:next[代码][代码]=[代码][代码]"next"[代码][代码] [代码][代码]@[代码][代码]selectDate[代码][代码]=[代码][代码]'selectDate'[代码][代码] [代码][代码]/>[代码][代码]data(){[代码][代码] return[代码][代码]{[代码][代码] [代码][代码]curYear: [代码][代码]new[代码] [代码]Date().getFullYear(), [代码][代码] [代码][代码]curMonth: [代码][代码]new[代码] [代码]Date().getMonth() + 1,[代码][代码] [代码][代码]day: [代码][代码]new[代码] [代码]Date().getDate(), [代码][代码] }[代码][代码]}[代码] [图片]
2019-07-31