fix: 注释页面中的打印
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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('')
|
||||
|
||||
Reference in New Issue
Block a user