feat:当传的值是null 时 不显示
This commit is contained in:
@@ -323,6 +323,9 @@ function days(value,index,type=1,dot){
|
||||
* dot:保留的小数位,
|
||||
* */
|
||||
function asciiCompute(num,ascii,units,dot=2){
|
||||
if(!num && num!==0 && num!=='0'){
|
||||
return ''
|
||||
}
|
||||
num=Number(num)
|
||||
let carry=0;
|
||||
if(num > 1){
|
||||
|
||||
Reference in New Issue
Block a user