mirror of
https://github.com/nocobase/nocobase.git
synced 2026-08-31 01:00:12 +08:00
fix(data-vi): transform the values of decimal fields from type string to number (#5155)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user