From f9ad63bb8170ba680c8527d2eeb38d4f739e0540 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Sat, 8 Feb 2025 14:36:20 +0800 Subject: [PATCH] * [misc] fix bug of tips in dashboard. --- module/block/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/block/control.php b/module/block/control.php index 6983a439bc..67655ca1c0 100755 --- a/module/block/control.php +++ b/module/block/control.php @@ -110,7 +110,7 @@ class block extends control $this->view->longBlock = $block->width >= 2; $this->view->isExternalCall = $this->blockZen->isExternalCall(); $this->view->params = $params; - $this->view->metricTime = $this->dao->select('lastTime')->from(TABLE_CRON)->where('command')->eq('moduleName=metric&methodName=updateMetricLib')->fetch('lastTime'); + $this->view->metricTime = $this->dao->select('lastTime')->from(TABLE_CRON)->where('command')->eq('moduleName=metric&methodName=updateDashboardMetricLib')->fetch('lastTime'); /* 根据 viewType 值 ,判断是否需要返回 json 数据。 */ $viewType = (isset($block->params->viewType) && $block->params->viewType == 'json') ? 'json' : 'html';