feat:NEZ-2383 chart编辑页面支持 repeat 配置项

This commit is contained in:
zyh
2022-11-14 16:00:18 +08:00
parent 84cb0666eb
commit afe2d0dba5
3 changed files with 51 additions and 2 deletions

View File

@@ -580,6 +580,11 @@ export default {
result: ''
}
}
if (obj.type === 'group' && !obj.param.repeat) {
obj.param.repeat = {
variable: ''
}
}
// this.editChart.varType = 1
if (obj.param.enable.legend && !obj.param.legend) {
obj.param.legend = { placement: 'bottom', values: [], show: true }