当我将select2添加到我的代码中时。该字段不能按预期工作(有多个选项)它会变大但当你点击它时没有任何反应。控制台中也存在此错误
https://atmospherejs.com/aldeed/autoform-select2
Exception from Tracker afterFlush function:
debug.js:41 TypeError: $s.select2 is not a function
at Template.afSelect2.rendered (autoform-select2.js:126)
at runTemplateHooks (template-extension.js:375)
at templateExtensionMasterHook (template-extension.js:324)
at template.js:116
at Function.Template._withTemplateInstanceFunc (template.js:437)
at fireCallbacks (template.js:112)
at null.<anonymous> (template.js:205)
at view.js:104
at Object.Blaze._withCurrentView (view.js:523)
at view.js:103
任何帮助将不胜感激