fix(client): percent precision

This commit is contained in:
chenos 2022-06-14 15:56:31 +08:00
parent b91ca4420b
commit e4352a3769

View File

@ -31,12 +31,12 @@ export const percent: IField = {
'x-decorator': 'FormItem',
default: '0',
enum: [
{ value: '0', label: '1' },
{ value: '0.1', label: '1.0' },
{ value: '0.01', label: '1.00' },
{ value: '0.001', label: '1.000' },
{ value: '0.0001', label: '1.0000' },
{ value: '0.00001', label: '1.00000' },
{ value: '0', label: '1%' },
{ value: '0.1', label: '1.0%' },
{ value: '0.01', label: '1.00%' },
{ value: '0.001', label: '1.000%' },
{ value: '0.0001', label: '1.0000%' },
{ value: '0.00001', label: '1.00000%' },
],
},
},