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