Open donglinkai opened 7 years ago
因为readme已经‘年久失修‘,很多功能都实现不了 官网已经移除了$dispatch, 所以文档里获取事件的方法已经没用了,因为这日历帮了我挺大的一个忙,所以过来提下问题,希望作者能再改进一下。 //下面是示例
<fullCalendar @eventClick="a" :events="fcEvents" locale="zh"></fullCalendar>
methods: { a(data,day,js){ console.log(data); //可以在这里显示或者隐藏事件 data.isShow=false }
显示隐藏事件的前提要在数据中定义一个isShow
fcEvents : [ { title : 'Sunny Out of Office', start : new Date('2016-08-25'), end : new Date('2017-07-20'), isShow:false, } ]
你是怎么解决跳转到指定时间的呀?
因为readme已经‘年久失修‘,很多功能都实现不了 官网已经移除了$dispatch, 所以文档里获取事件的方法已经没用了,因为这日历帮了我挺大的一个忙,所以过来提下问题,希望作者能再改进一下。 //下面是示例
显示隐藏事件的前提要在数据中定义一个isShow