From 1acd9877bafa73fc7aa47c94c11e47969cae07de Mon Sep 17 00:00:00 2001 From: Nexmoe <16796652+nexmoe@users.noreply.github.com> Date: Tue, 30 Apr 2024 11:46:30 +0800 Subject: [PATCH] fix: lint --- app.vue | 5 +++- components/LinkIcon.vue | 4 ++- components/flow/Header.vue | 5 +++- components/flow/Index.vue | 35 ++++++++++++++++++++----- components/module/Gallery.vue | 14 +++++++--- components/module/Image.vue | 29 +++++++++++++++----- components/module/List.vue | 5 +++- components/public/Header.vue | 4 +-- components/{ => public}/Social.vue | 7 ++++- eslint.config.mjs | 28 ++++++++++---------- layouts/default.vue | 8 +++--- nuxt.config.ts | 10 +++---- pages/flow/[id].vue | 15 ++++++++--- pages/index.vue | 18 ++++++++++--- pages/module/[id].vue | 19 +++++++++++--- pages/space/_[id].vue | 10 +++++-- server/middleware/update-site-config.ts | 2 +- 17 files changed, 158 insertions(+), 60 deletions(-) rename components/{ => public}/Social.vue (80%) diff --git a/app.vue b/app.vue index c2371bd..18ddf89 100644 --- a/app.vue +++ b/app.vue @@ -12,7 +12,10 @@ watch( diff --git a/components/LinkIcon.vue b/components/LinkIcon.vue index 73514ad..15a6d4d 100644 --- a/components/LinkIcon.vue +++ b/components/LinkIcon.vue @@ -14,6 +14,8 @@ function getOrigin(url: string) { diff --git a/components/flow/Header.vue b/components/flow/Header.vue index a1a367e..3a9aa31 100644 --- a/components/flow/Header.vue +++ b/components/flow/Header.vue @@ -8,7 +8,10 @@ const props = defineProps()