From 9caf41490c71350fd6c0383030733cdafc7cc95c Mon Sep 17 00:00:00 2001 From: camera-2018 <2907618001@qq.com> Date: Sat, 18 Feb 2023 21:28:08 +0800 Subject: [PATCH] fix: lint --- .../ArticlesContent/SideBar/Right/Column.vue | 36 +++++-- .../ArticlesContent/highlightStyle.ts | 4 +- frontend/components/Types/index.vue | 100 +++++++++++------- frontend/server/README.md | 3 - frontend/utils/useGraphql.ts | 1 - 5 files changed, 93 insertions(+), 51 deletions(-) diff --git a/frontend/components/ArticlesContent/SideBar/Right/Column.vue b/frontend/components/ArticlesContent/SideBar/Right/Column.vue index f594cc82..3ef00091 100644 --- a/frontend/components/ArticlesContent/SideBar/Right/Column.vue +++ b/frontend/components/ArticlesContent/SideBar/Right/Column.vue @@ -17,7 +17,7 @@ if (props?.column) { } const isActive = ref(false) -const handleClick = (e: any) => { +const handleClick = () => { isActive.value = !isActive.value } const handleClickOutside = (e: any) => { @@ -40,17 +40,20 @@ onUnmounted(() => { - +
- {{ nextArticle?.title }} + {{ + nextArticle?.title }}