|
@@ -379,8 +379,8 @@ let pieOptionsData = reactive<EChartsOption>(pieOptions) as EChartsOption
|
|
|
const getGraduateCount = async () => {
|
|
|
const data = await UserApi.getGraduateCount()
|
|
|
console.log("毕业达成统计", data);
|
|
|
- const studentNum = data[0].studentNum;
|
|
|
- const graduateNum = data[1].graduateNum;
|
|
|
+ const studentNum = data.studentNum;
|
|
|
+ const graduateNum = data.graduateNum;
|
|
|
const options = {
|
|
|
title: {
|
|
|
text: null,
|