@@ -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':