Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

month除了设置为current,不能设置为动态数字 #53

Open
littlelake opened this issue Sep 8, 2018 · 1 comment
Open

month除了设置为current,不能设置为动态数字 #53

littlelake opened this issue Sep 8, 2018 · 1 comment

Comments

@littlelake
Copy link

在dayClick事件中month我用current点击后在日历日期上能显示颜色变化
days_style.push({ month: 'current', day: cur_day, color: 'white', background: '#f5a8f0' });
但我直接用获取到的cur_month去没有反应
days_style.push({ month: cur_month, day: cur_day, color: 'white', background: '#f5a8f0' });

@licolas94
Copy link

可以设置prev,next,就是上一个月下一个月

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants