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('')