Не сделан фильтр с серилизатора
This commit is contained in:
1 parent
a815e59043
commit
74082b69ee
7 files changed
+53
-25
No files matched your search
@@ -46,19 +46,15 @@ export default str;
|
||||
|
||||
|
||||
export function pagecounter(){
|
||||
console.log('Загружаю данные для циферок по количеству');
|
||||
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}
|
||||
|
||||
clearAxios.post(`${baseURL}api/watcher/counter/`, postdata).then(result => {
|
||||
console.log(result.data, 'dfdf')
|
||||
clearAxios.post(`${baseURL}api/watcher/counter/`, postdata)
|
||||
.then(result => {
|
||||
|
||||
appStore.countvisitor = result.data})
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user