大加士兰事件未在自定义视图中加载
我混合了几个示例(CustomView,Moment JS本地化),以创建仅显示每个星期三和周四的视图。但是,事件未显示。
事件从父级转移到子女组件(包括日历组件)。但是,简单的硬编码事件也无效。
我觉得这是自定义视图中的问题,但是我找不到确切的问题。
参见 codesandbox 。
I've mixed a couple of examples (CustomView, Moment JS localization) in order to create a view that only shows each Wednesday and Thursday. However, the events are not displayed.
The events are transferred from the parent to the child component (including the Calendar component). However, simply hardcoding events also does not work.
I feel like it's a problem within the custom view, but I cannot find what exactly.
See codesandbox.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我注意到的第一件事是查看您的代码和框,是您忘记了包括样式表。这在入门文档的部分。您的
min
和max
prop被传递时刻
对象,而不是真JSdate
对象。您包含的硬编码事件日期不在显示的日期范围内。The first thing I notice, looking at your codesandbox, is that you forgot to include the stylesheet. This is mentioned in the Getting Started section of the documentation. Your
min
andmax
props are being passedmoment
objects, rather than true jsDate
objects. And the hardcoded event date you included wasn't in the displayed date range.