From b4d6944076f1df6eedaae35c4c2a7072fe988e8a Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期二, 30 四月 2024 15:34:02 +0800 Subject: [PATCH] update: package-lock.json --- PAMapp/pages/notification/index.vue | 24 +++++++++++++++++------- 1 files changed, 17 insertions(+), 7 deletions(-) diff --git a/PAMapp/pages/notification/index.vue b/PAMapp/pages/notification/index.vue index 0dd2509..f3de575 100644 --- a/PAMapp/pages/notification/index.vue +++ b/PAMapp/pages/notification/index.vue @@ -5,7 +5,6 @@ class="satisfaction-banner my-10 cursor--pointer" @click="$router.push('/satisfactionList')" > - <p class="satisfaction-text text--center">隢‵撖急遛��漲隤踵</p> </div> <el-row v-for="(item, index) in notificationList" @@ -58,10 +57,21 @@ //////////////////////////////////////////////////////////// - mounted() { - this.isUserLogin = authService.isUserLogin(); - reviewsService.readAllMyNotification().then(res => res); + async mounted() { + this.isUserLogin = authService.isUserLogin(); + + try { + const response = await reviewsService.readAllMyNotification(); + if (response !== null) { + } else { + throw new Error('reviewsService.readAllMyNotification returned null-like value.'); + } + } catch (error) { + console.error('An error occurred while reading all notifications:', error); + throw error; } + } + } </script> @@ -70,7 +80,7 @@ .satisfaction-banner { width: 100%; height: 60px; - background-image: url('~/assets/images/satisfaction/satisfactionBtn_mob.svg'); + background-image: url('~/assets/images/satisfaction/satisfactionBtn_s_mob.svg'); background-repeat: no-repeat; background-size: cover; background-position: center; @@ -84,7 +94,7 @@ @include desktop { height: 110px; - background-image: url('~/assets/images/satisfaction/satisfactionBtn_web.svg'); + background-image: url('~/assets/images/satisfaction/satisfactionBtn_s_web.svg'); .satisfaction-text { font-size: 24px; @@ -122,4 +132,4 @@ font-size: 24px; @extend .cursor--pointer; } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0