This commit is contained in:
iriska-gri committed 2023-11-03 09:52:04 +03:00
1 parent cf662895e5
commit ac04fad613
8 files changed
+11 -5

No files matched your search

+2 -1
View File
@@ -83,7 +83,8 @@ const routes = [
name: 'AboutPortalPage',
component: () => import('@/views/AboutPortalPage.vue'),
meta:{
title:"О портале"
title:"О портале",
ico: "mdi-contact-mail"
}
},
{
+3 -1
View File
@@ -66,7 +66,9 @@ export function pagecounter(){
console.log(router.currentRoute.value.meta, '-------------ttt------------------');
let postdata = {user__id: "user" in accountStore &&"id" in accountStore.user? accountStore.user.id: null,
page: router.currentRoute.value.meta.title,
fullPath: router.currentRoute.value.fullPath
fullPath: router.currentRoute.value.fullPath,
ico: router.currentRoute.value.ico
}
clearAxios.post(`${baseURL}api/watcher/counter/`, postdata)