|
@@ -190,7 +190,10 @@ func formOutputEntity(tableRow map[string]any, outputEntity any) error {
|
|
|
return errors.New("slice仅支持[]string")
|
|
|
}
|
|
|
|
|
|
- strValue := tableRowValue.(string)
|
|
|
+ strValue, ok := tableRowValue.(string)
|
|
|
+ if !ok {
|
|
|
+ return errors.New("slice仅支持[]string")
|
|
|
+ }
|
|
|
|
|
|
strParts := strings.Split(strValue, element.SplitWith)
|
|
|
if strParts == nil || len(strParts) == 0 {
|