我在这个 jQuery 包中使用 jquery-week-calendar:
- jQuery:3.1.1
- jquery-鼠标滚轮:3.1.13
- jquery-typeahead:2.7.6
- jQuery 掩码插件:1.14.9
- jquery-countTo:1.2.0
- jQuery步骤:1.1.0
- 图表.js:2.5.0
- 删除:“0.2.1
- jQuery-UI:1.12.1
- jquery-week-calendar-ui:最新
我收到此错误:
jQuery.Deferred exception: Cannot read property 'classes' of undefined
这是堆栈跟踪:
ERROR TypeError: Cannot read property 'classes' of undefined
at String.<anonymous> (http://localhost:4200/scripts.bundle.js:12672:11129)
at Function.each (http://localhost:4200/scripts.bundle.js:374:19)
at t.(anonymous function).(anonymous function)._resolveClassesValues (http://localhost:4200/scripts.bundle.js:12672:11094)
at t.(anonymous function).(anonymous function)._resolveClassesValues (http://localhost:4200/scripts.bundle.js:12670:4499)
at HTMLButtonElement.<anonymous> (http://localhost:4200/scripts.bundle.js:12672:9373)
at Function.each (http://localhost:4200/scripts.bundle.js:368:19)
at jQuery.fn.init.each (http://localhost:4200/scripts.bundle.js:157:17)
at String.<anonymous> (http://localhost:4200/scripts.bundle.js:12672:9205)
at Function.each (http://localhost:4200/scripts.bundle.js:374:19)
at t.(anonymous function).(anonymous function)._initWidgets (http://localhost:4200/scripts.bundle.js:12672:8750)
该错误由缩小的 jQuery-UI 代码触发。关于如何解决这个问题的任何建议?