From e4352a3769ff547c533fcfce937871c419801636 Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 14 Jun 2022 15:56:31 +0800 Subject: [PATCH] fix(client): percent precision --- .../src/collection-manager/interfaces/percent.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/core/client/src/collection-manager/interfaces/percent.ts b/packages/core/client/src/collection-manager/interfaces/percent.ts index 7ec198775..c16f7383d 100644 --- a/packages/core/client/src/collection-manager/interfaces/percent.ts +++ b/packages/core/client/src/collection-manager/interfaces/percent.ts @@ -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%' }, ], }, },