fix:接口 visual/panel/chart/id 的返回数据格式变更

This commit is contained in:
zhangyu
2022-03-02 10:46:57 +08:00
parent ec71a59e42
commit ff32ea7dc1
4 changed files with 4 additions and 4 deletions

View File

@@ -377,7 +377,7 @@ export default {
this.$get('visual/panel/chart/' + data.id).then(res => {
this.rightBox.loading = false
if (res.code === 200) {
const chartData = res.data.data
const chartData = res.data
this.chart = JSON.parse(JSON.stringify(chartData))
this.chart.panelId = this.showPanel.id
this.chart.panelName = this.showPanel.name