diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 2b727b8..d63de4f 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -97,7 +97,7 @@ const getWeeklyUserActivity = async () => { text: '检测类型导入次数(近7天)', left: 0, textStyle:{ - fontSize:16, + fontSize:14, } }) @@ -136,9 +136,7 @@ const getWeeklyUserActivity = async () => { }, { name: '性能', - data: data3.forEach(element => { - element - }), + data: data3, type: 'bar', animationDuration: 2000, animationEasing: 'cubicInOut' @@ -158,7 +156,7 @@ const getWeeklyUserActivity1 = async () => { text: '检测类型导入次数(近7天)', left: 0, textStyle:{ - fontSize:16, + fontSize:14, } }) set( @@ -212,6 +210,7 @@ onMounted(async() => {//初始化方法 echartsData.value = await rescordAPI.getSYEchartsData(); await getWeeklyUserActivity() await getWeeklyUserActivity1() + })