fix: 拓扑图组图片类型都读取参数值
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user