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 @@