From 11e5c14b0eb436a70707b19976a9f13b5873be92 Mon Sep 17 00:00:00 2001 From: wwp <782568523@qq.com> Date: Thu, 10 Oct 2024 13:28:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E7=94=BB=E5=83=8F=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=8A=A8=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/violation/portraitSummary/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SafeCampus.WEB/src/views/violation/portraitSummary/index.vue b/SafeCampus.WEB/src/views/violation/portraitSummary/index.vue index 9f49b24..c1dc80e 100644 --- a/SafeCampus.WEB/src/views/violation/portraitSummary/index.vue +++ b/SafeCampus.WEB/src/views/violation/portraitSummary/index.vue @@ -65,11 +65,11 @@ const getDataChart = async () => { getCharts1(sex.data.label, sex.data.value); /* 获取学生年龄 */ let age: any = await portraitSummaryApi.getStudentAge(); - let data = { - label: [89, 99, 36, 29, 31, 30, 28, 22, 32, 33, 35, 12012012, 26, 27, 23], - value: [1, 1, 1, 2, 2, 2, 1, 16, 1, 1, 1, 1, 1, 1, 1] - }; - getCharts2(data.label, data.value); + // let data = { + // label: [89, 99, 36, 29, 31, 30, 28, 22, 32, 33, 35, 12012012, 26, 27, 23], + // value: [1, 1, 1, 2, 2, 2, 1, 16, 1, 1, 1, 1, 1, 1, 1] + // }; + getCharts2(age.data.label, age.data.value); /* 获取属性标签 */ let attr: any = await portraitSummaryApi.getStudentAttr(); getCharts4(attr.data.label, attr.data.value);