diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index 1951fda..afda82c 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -121,6 +121,7 @@ const fetchlistNotification = async (index: number, type: string) => { timereceive: date2Thai(e.createdAt), isOpen: e.isOpen, receiveDate: e.receiveDate, + payload: e.payload, }); }); notiList.value.push(...list); @@ -331,22 +332,57 @@ function onInfo() {
- - - + + + {{ item.body[0] }} + {{ item.body }} + + + + {{ date2Thai(item.receiveDate) }} + {{ + new Date(item.receiveDate).toLocaleTimeString( + "th-TH", + thaiOptions + ) + }} + น. + +