调用日历方法浏览器报错this.$.callEvent is not a function

amber 2019-01-05 10:51:34

按api调用

$('#calendar').calendar();

浏览器报错:

zui.calendar.js:687 Uncaught TypeError: this.$.callEvent is not a function

    at Calendar.callEvent (zui.calendar.js:687)

    at Object.<anonymous> (zui.calendar.js:216)

    at Function.each (jquery.js:590)

    at Calendar.addCalendars (zui.calendar.js:215)

    at new Calendar (zui.calendar.js:74)

    at HTMLDivElement.<anonymous> (zui.calendar.js:697)

    at Function.each (jquery.js:590)

    at init.each (jquery.js:237)

    at init.$.fn.calendar (zui.calendar.js:692)

    at HTMLDocument.<anonymous> (calendertest.html:12)


蝉知2.0