bug fix and performance improvements
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
<script setup>
|
||||
import StatisticsPanel from "@/views/components/StatisticsPanel.vue";
|
||||
import { ref } from "vue";
|
||||
import { getResearchStatistic } from "@/api/admin/research/home";
|
||||
|
||||
const statisticsList = ref([
|
||||
{
|
||||
@ -24,6 +25,14 @@ const statisticsList = ref([
|
||||
unit: "家",
|
||||
},
|
||||
]);
|
||||
|
||||
const loadResearchStatisticsData = () => {
|
||||
getResearchStatistic().then((resp) => {
|
||||
console.log(resp);
|
||||
});
|
||||
};
|
||||
|
||||
loadResearchStatisticsData();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
Reference in New Issue
Block a user