我有那个
无法读取未定义的属性“locales”
使用select2-rails时出错。
它在这里的某个地方升起
fn.select2.locales.ru
我的application.js.coffee是
#=需要select2 #=需要select2_locale_ru
有什么问题吗?
发布于 2015-03-23 07:58:49
将脚本标记移动到head标记。
head
它会被解决的。
但是我想要其他的解决方案。
查一下这个链接
https://github.com/select2/select2/issues/1582
https://stackoverflow.com/questions/28632568
相似问题