Commit 6524e07a authored by zhangwenshuai's avatar zhangwenshuai

update rate detail

parent 35c3a195
......@@ -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 <Rate disabled value={formatValue} />;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment