src/views/index-nongtou.vue
@@ -164,7 +164,7 @@ <script> import * as echarts from 'echarts'; import {getCodingCount ,getFundingStatus } from '@/api/index/index.js' export default { name: 'ProjectManagement', data() { @@ -350,6 +350,13 @@ }; }, mounted() { getCodingCount().then(res =>{ }) getFundingStatus().then(res=>{ }) this.selectedProjects = this.allProjects.map(p => p.id); // 默认全选 this.fundSelectedProjects = this.allProjects.map(p => p.id); // 默认全选 this.initCharts();