Skip to content

Commit

Permalink
update dist and lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaming743 committed Jul 2, 2020
1 parent 45d4e52 commit dbcfadb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions dist/charts.map.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/charts.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lib/extend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ var numberText = {
var textSegments = content.split('{nt}');
var textString = '';
textSegments.forEach(function (t, i) {
var currentNumber = number[i] || '';
var currentNumber = number[i];
if (typeof currentNumber !== 'number') currentNumber = '';

if (typeof currentNumber === 'number') {
currentNumber = currentNumber.toFixed(toFixed);
Expand Down

0 comments on commit dbcfadb

Please sign in to comment.