diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index d74528f..4658aa7 100644 --- a/src/components/Dashboard.vue +++ b/src/components/Dashboard.vue @@ -104,15 +104,10 @@
- +
-

新闻与动态

-
-
- {{ item.title }} - {{ item.date }} -
-
+

教师服务与社会贡献项目分布

+
@@ -137,11 +132,14 @@

智能助手

- 北京理工大学 +

北京理工大学

+
+
+
@@ -162,344 +160,358 @@
- + - - - + + - - \ No newline at end of file +} + \ No newline at end of file diff --git a/src/components/LabDetail.vue b/src/components/LabDetail.vue index bf5d163..a5429de 100644 --- a/src/components/LabDetail.vue +++ b/src/components/LabDetail.vue @@ -315,8 +315,8 @@ const handleSearch = () => { filteredLabs.value = labs.value; } else { filteredLabs.value = labs.value.filter(lab => - lab.basicInformation.name1.includes(searchQuery.value) || - (lab.name0 && lab.name0.includes(searchQuery.value)) + lab.basicInformation.name1 && lab.basicInformation.name1.includes(searchQuery.value) || + (lab.basicInformation.name0 && lab.basicInformation.name0.includes(searchQuery.value)) ); }