diff --git a/app/views/admins/dashboards/_baidu_tongji.html.erb b/app/views/admins/dashboards/_baidu_tongji.html.erb index ca697332d..75fd1cde3 100644 --- a/app/views/admins/dashboards/_baidu_tongji.html.erb +++ b/app/views/admins/dashboards/_baidu_tongji.html.erb @@ -21,10 +21,10 @@ <%= @pre_week_statistic.map(&:pv).sum %> <%= @pre_week_statistic.map(&:visitor).sum %> <%= @pre_week_statistic.map(&:ip).sum %> - <%= (@pre_week_statistic.map(&:source_through).sum.to_f / 7).round(2) %> - <%= (@pre_week_statistic.map(&:source_link).sum.to_f / 7).round(2) %> - <%= (@pre_week_statistic.map(&:source_search).sum.to_f / 7).round(2) %> - <%= ((@pre_week_statistic.map(&:source_custom) - [nil]).sum.to_f / 7).round(2) %> + <%= (@pre_week_statistic.map(&:source_through).sum.to_f / 7).round(2) %>% + <%= (@pre_week_statistic.map(&:source_link).sum.to_f / 7).round(2) %>% + <%= (@pre_week_statistic.map(&:source_search).sum.to_f / 7).round(2) %>% + <%= ((@pre_week_statistic.map(&:source_custom) - [nil]).sum.to_f / 7).round(2) %>% <% end %>