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