修复配置切片的问题

This commit is contained in:
ayflying
2025-02-26 16:32:19 +08:00
parent 0a1c3c436e
commit 144e2ffb25

View File

@@ -140,7 +140,7 @@ func (s *Excel) sliceFormat(list []interface{}, Slice map[string]string) []inter
if get, ok := v3.(string); !ok {
//g.Log().Errorf(gctx.New(), "当前类型断言失败:%v", v3)
parts = []string{gconv.String(v3)}
continue
} else {
for _, v := range shadiao {
get = strings.ReplaceAll(get, v, "|")