[英]How to fetch data when click on prev and next button on fullcalendar in vue
我想從數據庫中獲取日歷數據到我的 Vue 前端,為此我使用了 fullcalendar API。
我能夠獲取本周的數據,但是當我點擊下一周和上一周時,我卡住了,因為無法獲取數據。
請給我一些建議或參考,以便我go通過它並實施。
我在 fullcalendar 中使用了自定義按鈕
https://fullcalendar.io/docs/customButtons
並在下面提到 Stack Overflow 鏈接
FullCalendar-vue + Typescript:屬性“getApi”不存在
並從calendarApi
中獲取數據並在 axios 中用作參數。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.