From 7380609c9397f5c4e002fe4499338f9f45aaa22b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Fri, 30 Dec 2022 04:14:05 +0800 Subject: [PATCH] fix(settings): hide profile when not login --- pages/settings.vue | 1 + pages/settings/profile/appearance.vue | 1 + pages/settings/profile/featured-tags.vue | 6 ++++++ pages/settings/profile/index.vue | 6 ++++++ 4 files changed, 14 insertions(+) diff --git a/pages/settings.vue b/pages/settings.vue index ae3a5401..cdab00a3 100644 --- a/pages/settings.vue +++ b/pages/settings.vue @@ -20,6 +20,7 @@ const isRootPath = computedEager(() => route.name === 'settings')
+definePageMeta({ + middleware: 'auth', +}) + +