Browse Source

Fix undefined type

pull/1283/head
Wei Zhu 8 years ago
committed by GitHub
parent
commit
c864630c19
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/Charts/ChartCard/index.js

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

Loading…
Cancel
Save