fix:1.修复explore 表格无法显示的bug 2.explore图表悬浮时显示点

This commit is contained in:
wangwenrui
2020-05-25 16:21:07 +08:00
parent 29cf43ab7d
commit a838649591
2 changed files with 4 additions and 1 deletions

View File

@@ -255,6 +255,7 @@ function days(value,index,type=1){
* unitIndex不需要传递用于递归获取units中的单位
* */
function asciiCompute(num,ascii,units,dot=2,unitIndex=0){
num=Number(num)
let quotient=num / ascii;
if(unitIndex <= units.length-1){
if(quotient <1 ){ //不足以进位