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 @@ -
-