CzRger преди 1 година
родител
ревизия
6b3ef7b671
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      src/views/screen/index.vue

+ 5 - 0
src/views/screen/index.vue

@@ -157,6 +157,7 @@ import {useStore} from 'vuex'
 import {bgImgMapper, infoMapper, logoIcon} from '../common/static'
 import MessageCom from './message/index.vue'
 import CountTo from '@/components/vue-count-to/vue-countTo.vue';
+import axios from "axios";
 
 export default defineComponent({
   name: 'App',
@@ -253,6 +254,10 @@ export default defineComponent({
           ref_screenBg.value?.children[Math.abs(state.bgImgIndex - 1 - len)].classList.remove('animate__fadeIn')
         }
       }, 5000)
+
+      axios.get('http://172.17.0.42:18000/api/populationTrend/getUserCount').then(res => {
+        console.log(res)
+      })
     })
     return {
       ...toRefs(state),