上周统计一直显示

This commit is contained in:
xxq250 2024-01-24 15:38:21 +08:00
parent 7a57108ca5
commit d106ac9763
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
</tr>
</thead>
<tbody>
<% if @current_week_statistic.size ==1 && @pre_week_statistic.present? %>
<% if @pre_week_statistic.present? %>
<tr class="">
<td>上周合计</td>
<td><%= @pre_week_statistic.map(&:pv).sum %></td>