当我将 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
任何帮助将不胜感激