1

部署代码时,生产服务器上未出现时间过滤器图标。反而出现破碎的图像,我明白了

资产编译错误

.

4

1 回答 1

1

这是 wice_grid 中的一个常见错误,其中未为资产管道正确设置图标。以下解决问题。

/initializers/wice_grid_config.rb中,将此行添加到 Wice::Defaults::CALENDAR_ICON

# Icon to popup the calendar.
Wice::Defaults::CALENDAR_ICON = "https://raw.github.com/leikind/wice_grid/rails3/vendor/assets/images/icons/grid/calendar_view_month.png" 
于 2015-03-13T09:51:40.287 回答