fix(data-vi): transform the values of decimal fields from type string to number (#5155)

This commit is contained in:
YANG QIA 2024-08-30 11:24:31 +08:00 committed by GitHub
parent 6e45780565
commit c1bcad666c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,6 +79,7 @@ export const postProcess = async (ctx: Context, next: Next) => {
case 'integer':
case 'float':
case 'double':
case 'decimal':
record[key] = Number(value);
break;
}