mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 15:39:24 +08:00
fix(data-vi): transform the values of decimal fields from type string to number (#5155)
This commit is contained in:
parent
6e45780565
commit
c1bcad666c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user