字符串类型的处理

This commit is contained in:
zhangdeman committed 2023-05-04 17:50:45 +08:00
1 parent 07f0e77b96
commit 01b6e1abe8
1 file changed
+1 -1
+1 -1
View File
@@ -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:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.