From 2872ba60fa88db4eb6c709b71a85a2ecb3d7714b Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 15 Feb 2022 15:27:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=9F=B1=E7=8A=B6=E5=9B=BE=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/track/home/TrackHome.vue | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/frontend/src/business/components/track/home/TrackHome.vue b/frontend/src/business/components/track/home/TrackHome.vue index 4bfbd4e99a..c77abb2664 100644 --- a/frontend/src/business/components/track/home/TrackHome.vue +++ b/frontend/src/business/components/track/home/TrackHome.vue @@ -139,19 +139,21 @@ export default { orient: 'vertical', right: '80', }, - series: [{ - name: this.$t('test_track.home.function_case_count'), - data: yAxis1, - type: 'bar', - barWidth: 50, - itemStyle: { - color: this.$store.state.theme ? this.$store.state.theme : COUNT_NUMBER - } - }, + series: [ + { + name: this.$t('test_track.home.function_case_count'), + data: yAxis1, + type: 'bar', + barWidth: 50, + itemStyle: { + color: this.$store.state.theme ? this.$store.state.theme : COUNT_NUMBER + } + }, { name: this.$t('test_track.home.relevance_case_count'), data: yAxis2, type: 'bar', + barWidth: 50, itemStyle: { color: this.$store.state.theme ? this.$store.state.theme : COUNT_NUMBER_SHALLOW } @@ -165,9 +167,9 @@ export default { switch (page) { case "case": this.$router.push({ - name:'testCase', - params:{ - dataType:dataType,dataSelectRange:selectType, projectId: this.projectId + name: 'testCase', + params: { + dataType: dataType, dataSelectRange: selectType, projectId: this.projectId } }); break;