From 6524e07aef7d63d917ef690a99f17a9c52175167 Mon Sep 17 00:00:00 2001 From: zhangwenshuai Date: Tue, 4 Aug 2020 19:33:46 +0800 Subject: [PATCH] update rate detail --- components/apolloTable/component/base/detail/rate/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/apolloTable/component/base/detail/rate/index.tsx b/components/apolloTable/component/base/detail/rate/index.tsx index 37089d2..5185313 100644 --- a/components/apolloTable/component/base/detail/rate/index.tsx +++ b/components/apolloTable/component/base/detail/rate/index.tsx @@ -9,7 +9,7 @@ export const ApolloRateDetail = (props: RateProps) => { if (!formatValue) return null; formatValue = parseInt(formatValue || 0, 10); - if (isNumber(formatValue)) { + if (!isNumber(formatValue)) { return null; } return ; -- 2.21.0