From 9ea678f18412a26534560c043d3c3b0dcc47897d Mon Sep 17 00:00:00 2001 From: mesi Date: Wed, 31 Jan 2024 15:47:59 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=97=E3=83=AD=E3=83=95=E3=82=A3=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E3=81=AE=E7=B7=A8=E9=9B=86=E3=82=92=E6=A4=9C=E7=9F=A5?= =?UTF-8?q?=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/pages/user/index.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/pages/user/index.vue b/packages/frontend/src/pages/user/index.vue index 603f1bef33b0..1a4c0e1752a4 100644 --- a/packages/frontend/src/pages/user/index.vue +++ b/packages/frontend/src/pages/user/index.vue @@ -74,9 +74,16 @@ function fetchUser(): void { }); } -watch(() => props.acct, fetchUser, { - immediate: true, -}); +watch( + [() => props.acct, () => $i], + () => { + fetchUser(); + }, + { + immediate: true, + deep: true, + }, +); const headerActions = computed(() => []);