feat: 补充chartBox other

This commit is contained in:
zhangyu
2021-12-02 14:56:14 +08:00
parent 39a051bbcf
commit 8cca94f74f
6 changed files with 234 additions and 4 deletions

View File

@@ -271,6 +271,18 @@ export default {
}
}
}
console.log(this.editChart.datasource)
if (this.editChart.datasource == 4) {
this.editChart = {
...this.editChart,
span: 4,
height: 4,
type: 'url',
param: {
url: ''
}
}
}
},
editChartChange (newEditChart) {
this.editChart = JSON.parse(JSON.stringify(newEditChart))