fix: 注释页面中的打印

This commit is contained in:
@changcode
2022-10-24 18:40:57 +08:00
parent 64e41c3170
commit de5040d9f4
2 changed files with 2 additions and 3 deletions

View File

@@ -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)

View File

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