【发布时间】:2019-10-10 03:32:47
【问题描述】:
我想在 vue fullcalnder 中删除带有 Event id 的元素,但我不知道该怎么做。 使用 jquery 很容易,但我不知道如何使用它,它在文档中有但我不知道如何将它与 vuejs 一起使用 (https://fullcalendar.io/docs/Calendar-getEventById)。
我尝试了很多东西,但结果都一样!
this.$refs.calendar.$emit('getEventById',4).remove()
this.$refs.calendar.fireMethod().getEventById(4).remove()
感谢您的帮助。
【问题讨论】:
-
谢谢亲爱的,让@ADyson 你的评论解决了我的问题,非常感谢
标签: vue.js fullcalendar vue-component fullcalendar-4