From cb7bc62b1378127728505ea6189b772ff3a441e5 Mon Sep 17 00:00:00 2001 From: Bhwa233 <404174262@qq.com> Date: Sat, 2 Mar 2024 16:03:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A0=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/AlgoliaSearchModal.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/AlgoliaSearchModal.js b/components/AlgoliaSearchModal.js index 9747bf21..4044f9df 100644 --- a/components/AlgoliaSearchModal.js +++ b/components/AlgoliaSearchModal.js @@ -205,6 +205,16 @@ export default function AlgoliaSearchModal({ cRef }) {
+ { + searchResults.length === 0 && keyword && ( +
+

无法找到相关结果 + "{keyword}"

+
+ ) + }