From 9f84fd60b3ba1f634c4284423e415c9cd9f6cd26 Mon Sep 17 00:00:00 2001 From: yixu Date: Sun, 14 Sep 2025 22:48:26 +0800 Subject: [PATCH] update --- src/components/GenerateImg.vue | 4 ++++ src/components/HomePage.vue | 11 ++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/GenerateImg.vue b/src/components/GenerateImg.vue index 2ff6a42..6a18360 100644 --- a/src/components/GenerateImg.vue +++ b/src/components/GenerateImg.vue @@ -364,6 +364,10 @@ const disableClick = ref(false); const isMyPhotoVisible = ref(false); const isPhotoSquareVisible = ref(false); const showMyPhoto = () => { + router.push({ + name: 'home', + query: { myPhotoValue: true } + }) isMyPhotoVisible.value = true; // displayMyPhotoBtn.value = false; isPhotoSquareVisible.value = false; diff --git a/src/components/HomePage.vue b/src/components/HomePage.vue index 8692685..3e78306 100644 --- a/src/components/HomePage.vue +++ b/src/components/HomePage.vue @@ -1,6 +1,6 @@