Не сделан фильтр с серилизатора

This commit is contained in:
iriska-gri committed 2023-09-13 16:59:21 +03:00
1 parent a815e59043
commit 74082b69ee
7 files changed
+53 -25

No files matched your search

+21 -7
View File
@@ -21,6 +21,13 @@
</v-row>
</v-col>
<v-col>
<v-btn
@click="proba">
Button
</v-btn>
{{appStore.countvisitor.totalvisit}}
</v-col>
</v-row>
@@ -70,11 +77,11 @@
setup(){
onMounted(() => {
pagecounter()
proba()
})
const appStore = useAppStore()
pagecounter()
const model= null
const accountStore = useAccountStore()
@@ -87,14 +94,20 @@
{status:'В запое', num:'1,5', img: "/media/newsimage/numbers/med.jpg"},
]
const onlines = [
// const onlines = [
// {status:'Всего', num: 1, img: "/media/newsimage/numbers/calendar.jpg"},
// {status:'Сегодня', num: 2, img: "/media/newsimage/numbers/sept.jpg"},
// {status:'Уникальных', num: 3, img: "/media/newsimage/numbers/uni.jpg"},
// ]
const onlines = ref([
{status:'Всего', num: appStore.countvisitor.totalvisit, img: "/media/newsimage/numbers/calendar.jpg"},
{status:'Сегодня', num: appStore.countvisitor.visittoday, img: "/media/newsimage/numbers/sept.jpg"},
{status:'Уникальных', num: appStore.countvisitor.uniqtoday, img: "/media/newsimage/numbers/uni.jpg"},
]
])
function proba() {
console.log('hellooo------------------', appStore.countvisitor);
}
return {
accountStore,
@@ -102,6 +115,7 @@
model,
onlines,
appStore,
proba