Wei Zhu преди 7 години
родител
ревизия
c864630c19
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/components/Charts/ChartCard/index.js

+ 1 - 1
src/components/Charts/ChartCard/index.js

@@ -7,7 +7,7 @@ import styles from './index.less';
 const renderTotal = total => {
   let totalDom;
   switch (typeof total) {
-    case undefined:
+    case 'undefined':
       totalDom = null;
       break;
     case 'function':