Unverified Commit c864630c authored by Wei Zhu's avatar Wei Zhu Committed by GitHub

Fix undefined type

parent 7f704c4f
......@@ -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':
......
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