From ef845a47e62b5ec891f0cd56d77fd3ed2d361edc Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 18 Jul 2025 14:15:16 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=9C=A8=E7=BA=BF=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=AE=B0=E5=BD=95,=E7=BB=9F=E8=AE=A1=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/admins/dashboards/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admins/dashboards/index.html.erb b/app/views/admins/dashboards/index.html.erb index a55ef55e4..677b3416f 100644 --- a/app/views/admins/dashboards/index.html.erb +++ b/app/views/admins/dashboards/index.html.erb @@ -2,7 +2,7 @@ <% add_admin_breadcrumb('概览', admins_path) %> <% end %> -<% cache "/admin/dashboards/#{Time.now.strftime('%Y-%m-%d')}", :expires_in => 1.days do %> +<% cache_if EduSetting.get("open_baidu_tongji").to_s == "true", "/admin/dashboards/#{Time.now.strftime('%Y-%m-%d')}", :expires_in => 1.days do %>