fix: 组件属性优化

main
hong.yang 1 year ago
parent 2440493bc3
commit a711cbb464

@ -36,6 +36,9 @@ public class Chart {
@ApiModelProperty(notes = "图表标题") @ApiModelProperty(notes = "图表标题")
private String title; private String title;
@ApiModelProperty(notes = "名称")
private String name;
@ApiModelProperty(notes = "组件类型") @ApiModelProperty(notes = "组件类型")
private String type; private String type;

@ -41,8 +41,8 @@ public class CustomComponentChart extends Chart {
@ApiModelProperty(notes = "右侧面板自定义配置") @ApiModelProperty(notes = "右侧面板自定义配置")
private List<Map<String, Object>> setting; private List<Map<String, Object>> setting;
@ApiModelProperty(notes = "组件的唯一名称") @ApiModelProperty(notes = "组件类别")
private String name; private String category;
@Data @Data
public static class Setting { public static class Setting {

Loading…
Cancel
Save