fullcalendar无法读取未定义的属性'fn' [英] fullcalendar cannot read property 'fn' of undefined
本文介绍了fullcalendar无法读取未定义的属性'fn'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将 fullcalendar.min.js
嵌入到我的项目中,但是我收到此错误:
I embedded fullcalendar.min.js
to my project, but I get this error:
错误日志显示无法读取属性'fn'未定义
error log show "Cannot read property 'fn' of undefined"
见下图。
我检查了这个问题,建议使用 jQuery 2.0.0 +
,并且肯定我使用 jQuery v3.3.1
,但它无助于解决问题。
I checked this issue, it's suggested to use jQuery 2.0.0+
, and for sure I use jQuery v3.3.1
, but it does not help to solve problem.
推荐答案
那是因为你必须在fullcalendar.js之前加载moment.js!
That's because you have to load moment.js before fullcalendar.js!
这篇关于fullcalendar无法读取未定义的属性'fn'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文