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),