From de5040d9f4c55764afa141d355192e07bdcd7326 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Mon, 24 Oct 2022 18:40:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B3=A8=E9=87=8A=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/charts/Panel.vue | 4 ++-- src/views/charts2/charts/npm/NpmLine.vue | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/charts/Panel.vue b/src/views/charts/Panel.vue index 6b6de6fb..7ed37c67 100644 --- a/src/views/charts/Panel.vue +++ b/src/views/charts/Panel.vue @@ -150,14 +150,14 @@ export default { if (panels && panels.length > 0) { this.panel = panels[0] } - console.log(this.panel) + // console.log(this.panel) if (this.panel.id) { if (this.panel.params) { this.panel.params = JSON.parse(this.panel.params) } else { this.panel.params = {} } - console.log(this.panel) + // console.log(this.panel) const allCharts = (await getChartList({ panelId: this.panel.id, pageSize: -1 })).map(chart => { chart.i = chart.id this.recursionParamsConvert(chart) diff --git a/src/views/charts2/charts/npm/NpmLine.vue b/src/views/charts2/charts/npm/NpmLine.vue index 8b3310c3..6fa9f037 100644 --- a/src/views/charts2/charts/npm/NpmLine.vue +++ b/src/views/charts2/charts/npm/NpmLine.vue @@ -180,7 +180,6 @@ export default { }) this.chartOption.yAxis[0].axisLabel.formatter = (value) => { if (type === 'percent') { - console.log(type) return unitConvert(value, type)[0] } else { return unitConvert(value, 'number').join('')