FullCalendar:无法读取属性“ fn”

时间:2018-11-02 07:24:34

标签: asp.net webforms fullcalendar

需要帮助。我正在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>

非常感谢!

0 个答案:

没有答案