diff --git a/src/front/src/views/AboutPortalPage.vue b/src/front/src/views/AboutPortalPage.vue index 94df32de5..04ed8a6c5 100644 --- a/src/front/src/views/AboutPortalPage.vue +++ b/src/front/src/views/AboutPortalPage.vue @@ -34,12 +34,14 @@ + {{periodname()}} + Посетителей сегодня: {{ countvising['now'] }} @@ -331,7 +333,6 @@ setup(){ const returnstart = (dates) => { - console.log(dates, 'datesdates'); startdate.value = dates visition() } @@ -349,6 +350,13 @@ setup(){ pagecounter() + const periodname = () => { + return [ + {now: ['Посетителей сегодня:', countvising.value['now']]}, + ] + } + + const countgrupp = () => { let us = {} let countall = {now: 0, week: 0, year: 0} @@ -475,7 +483,8 @@ setup(){ returnend, endate, startdate, - icons + icons, + periodname } }