未验证 提交 c864630c 编写于 作者: W Wei Zhu 提交者: GitHub

Fix undefined type

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册