From 9d7b5026980c957a3bd9c273295ad7175e6c578a Mon Sep 17 00:00:00 2001 From: dzq Date: Sat, 24 May 2025 16:47:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=AF=BC=E8=88=AA=E7=BB=84=E4=BB=B6):?= =?UTF-8?q?=20=E7=A7=BB=E9=99=A4=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=92=8C=E9=80=9A=E7=9F=A5=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为了简化代码并减少不必要的依赖,移除了`navbar.vue`、`horizontal.vue`和`mixNav.vue`中未使用的`Search`和`Notice`组件导入。同时,注释了`SearchModal.vue`中未使用的键盘事件处理逻辑,以优化代码结构。 --- src/layout/components/navbar.vue | 2 -- src/layout/components/search/components/SearchModal.vue | 8 ++++---- src/layout/components/sidebar/horizontal.vue | 2 -- src/layout/components/sidebar/mixNav.vue | 2 -- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/layout/components/navbar.vue b/src/layout/components/navbar.vue index d641337..2b3aac1 100644 --- a/src/layout/components/navbar.vue +++ b/src/layout/components/navbar.vue @@ -1,6 +1,4 @@