ветка

This commit is contained in:
iriska-gri committed 2023-11-02 12:14:25 +03:00
1 parent d3eaa920e2
commit 91cc33ec8c
8 files changed
+299 -303

No files matched your search

+6 -1
View File
@@ -63,7 +63,12 @@ export function pagecounter(){
const router = useRouter()
const accountStore = useAccountStore()
const appStore = useAppStore()
let postdata = {user__id: "user" in accountStore && "id" in accountStore.user? accountStore.user.id: null, page: router.currentRoute.value.meta.title}
console.log(router.currentRoute.value.fullPath, '-------------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
}
clearAxios.post(`${baseURL}api/watcher/counter/`, postdata)
.then(result => {