diff --git a/src/components/app/PartDownload.js b/src/components/app/PartDownload.js
index 22a04ee..4268628 100644
--- a/src/components/app/PartDownload.js
+++ b/src/components/app/PartDownload.js
@@ -3,17 +3,10 @@ import './App.css';
import PropTypes from 'prop-types';
import {isWeiXin} from "../../utils/navigatorUtils";
-function parseValue(value) {
- if (value < 10000) return value;
- return
-}
-
const CountComponent = ({ value }) => {
- if (value >= 10000) value = (value / 10000).toFixed(1);
- if (!isNaN(value)) {
- return {value + "万"}
- }
- return null;
+ if (isNaN(value)) return null;
+ if (value >= 10000) value = (value / 10000).toFixed(1) + "万";
+ return {value}
}
const WxMessage = () => {