字符串类型的处理
This commit is contained in:
parent
07f0e77b96
commit
01b6e1abe8
@ -227,7 +227,7 @@ func (f *filter) getValue(dataType string, sourceValue gjson.Result, defaultValu
|
||||
err = util.ConvertAssign(&val, sourceValueStr)
|
||||
return val, err
|
||||
case DataTypeString:
|
||||
return defaultValue, nil
|
||||
return sourceValueStr, nil
|
||||
case DataTypeAny:
|
||||
return sourceValue.Value(), nil
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user