Админка

This commit is contained in:
iriska-gri committed 2023-09-18 16:45:39 +03:00
1 parent 6d3adbb54c
commit 0e64eede38
301 files changed
+296588 -14

No files matched your search

+3
View File
@@ -5,6 +5,9 @@
<script setup >
import VueJwtDecode from 'vue-jwt-decode'
import {useAccountStore} from '@/store/AccountStore'
const accountStore = useAccountStore()
const checkuser = ()=>{
const token = localStorage.getItem("refresh")
+4 -2
View File
@@ -41,8 +41,8 @@
{{n.status}}
</v-card-title>
<v-card-text class="numstyle mt-4 py-0 font-weight-bold">
{{n.num}}
</v-card-text>
<vue3-autocounter ref='counter' :startAmount='0' :endAmount='n.num' :duration='1' :autoinit='true' @finished='alert(`Counting finished!`)'/>
</v-card-text>
</v-card>
</v-img>
@@ -60,6 +60,8 @@ import { ref } from 'vue'
import { baseURL } from '@/utils/axios-api'
export default {
props: {
digitalData: {
type: Object,
+3 -1
View File
@@ -13,13 +13,15 @@ import { createApp } from 'vue'
// Plugins
import { registerPlugins } from '@/plugins'
import components from '@/components/UI/index'
import Vue3Autocounter from 'vue3-autocounter';
const app = createApp(App)
components.forEach((component) => {
app.component(component.name, component);
})
app.component('vue3-autocounter', Vue3Autocounter)
registerPlugins(app)
+3 -2
View File
@@ -65,14 +65,15 @@
import CarouselList from '@/components/carousel-list.vue'
import CarouselNumbers from '@/components/carousel-numbers.vue'
import { axiosApiInstance } from '@/utils/axios-api'
export default {
components: {
NewsList,
CarouselList,
CarouselNumbers
CarouselNumbers,
},
setup(){