diff --git a/components/apolloTable/component/base/_utils/setFormatter.tsx b/components/apolloTable/component/base/_utils/setFormatter.tsx index ce99a186728ff4c0625170eb2cf1d6a0acfec6b3..9ce706cb470490cf6b82f4795f2a862efbf1e655 100644 --- a/components/apolloTable/component/base/_utils/setFormatter.tsx +++ b/components/apolloTable/component/base/_utils/setFormatter.tsx @@ -92,11 +92,11 @@ export const SetFormatter = { val = Number(val).toFixed(precision); return [{ value: val, text: val }]; }, - PERCENTAGE: (val) => { + PERCENTAGE: (val, config) => { val = `${val}`.replace('%', ''); if (!isNumber(val)) return emptyModel; val = accDiv(val, 100); - return SetFormatter.NUMBER(val); + return SetFormatter.NUMBER(val, config); }, DATE: (val, config) => { if (!val) return emptyModel;