需要帮助。我正在asp.net Webforms中运行fullcalendar插件。它显示了这个错误:
fullcalendar.js:1259 Uncaught TypeError: Cannot read property 'fn' of undefined
at Object.<anonymous> (fullcalendar.js:1259)
at __webpack_require__ (fullcalendar.js:35)
at Object.<anonymous> (fullcalendar.js:4554)
at __webpack_require__ (fullcalendar.js:35)
at Object.<anonymous> (fullcalendar.js:1759)
at __webpack_require__ (fullcalendar.js:35)
at Object.<anonymous> (fullcalendar.js:12379)
at __webpack_require__ (fullcalendar.js:35)
at fullcalendar.js:78
at fullcalendar.js:81
我猜可能是我的脚本排列,我想我已经在BundleConfig中正确排列了它们:
bundles.Add(new ScriptBundle("~/bundles/fullcalendar").Include(
"~/Scripts/jquery.3.3.1.js",
"~/Scripts/moment.min.js",
"~/Scripts/fullcalendar.js"));
这是在母版页中:
<asp:PlaceHolder runat="server">
<%: Scripts.Render("~/bundles/modernizr") %>
<%: Scripts.Render("~/bundles/fullcalendar") %>
</asp:PlaceHolder>
非常感谢!