fix: 拓扑图组图片类型都读取参数值

This commit is contained in:
TsMask
2024-01-09 16:38:07 +08:00
parent f439d6b708
commit bda59fdd33

View File

@@ -101,7 +101,7 @@ func (s *ChartGraphImpl) loadNode(v model.ChartGraph) map[string]any {
}
// 图片属性
if v.Type == "image" {
if strings.Index(v.Type, "image") == 0 {
node["img"] = v.Img
clipCfg := map[string]any{}
if len(v.ClipCfg) > 7 {