From 92347aa62d8c4fa8b2f2cfdcf00e8c2f72d223d1 Mon Sep 17 00:00:00 2001 From: osiris Date: Tue, 14 May 2024 15:13:56 +0800 Subject: [PATCH] fix: --- index.html | 2 +- mock/tools.ts | 3 ++- src/components/Home/About.vue | 6 +++--- src/components/Layout/Floor/Floor.vue | 2 +- src/components/Layout/Header/Header.vue | 8 ++++---- src/components/Layout/Left/Left.vue | 6 +++--- 6 files changed, 14 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 0a5a867..4e1a9b8 100644 --- a/index.html +++ b/index.html @@ -27,7 +27,7 @@ })(); - + diff --git a/mock/tools.ts b/mock/tools.ts index f6af2fb..36d77d5 100644 --- a/mock/tools.ts +++ b/mock/tools.ts @@ -381,7 +381,8 @@ export default [ if (title != '') { list = list.filter(item => { let tmpValue = item.title.toLowerCase() - return tmpValue.indexOf(title.toLowerCase()) !== -1; + let tmpDesc = item.desc.toLowerCase() + return tmpValue.indexOf(title.toLowerCase()) !== -1 || tmpDesc.indexOf(title.toLowerCase()) !== -1; }); } //分类筛选 diff --git a/src/components/Home/About.vue b/src/components/Home/About.vue index 3019e98..69f7ccb 100644 --- a/src/components/Home/About.vue +++ b/src/components/Home/About.vue @@ -2,18 +2,18 @@