From 98d8fd53f434afe82afb03eb0787689fb5752d25 Mon Sep 17 00:00:00 2001 From: filesite Date: Fri, 20 Dec 2024 14:04:48 +0800 Subject: [PATCH] add tips for empty data --- themes/beauty/views/list/bydate.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/themes/beauty/views/list/bydate.php b/themes/beauty/views/list/bydate.php index f148c1a..4a5e197 100644 --- a/themes/beauty/views/list/bydate.php +++ b/themes/beauty/views/list/bydate.php @@ -217,7 +217,7 @@ eof; //显示月份导航菜单 - if (!empty($viewData['para_year']) && !empty($viewData['cacheData_keys'][$viewData['para_year']])) { + if (!empty($viewData['allFiles']) && !empty($viewData['para_year']) && !empty($viewData['cacheData_keys'][$viewData['para_year']])) { echo '