text
This commit is contained in:
parent
a4291f1361
commit
d858824376
@ -1210,7 +1210,7 @@ const _sfc_main = defineComponent({
|
||||
if (tableColumn.valueType == "str") {
|
||||
info[name] = item[name];
|
||||
} else {
|
||||
info[name] = isNaN(Number(item[name])) ? item[name] : Number(item[name]);
|
||||
info[name] = isNaN(Number(item[name])) || !item[name] && item[name] !== 0 ? item[name] : Number(item[name]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -40037,7 +40037,7 @@ const _sfc_main$D = defineComponent({
|
||||
if (tableColumn.valueType == "str") {
|
||||
info[name] = item[name];
|
||||
} else {
|
||||
info[name] = isNaN(Number(item[name])) ? item[name] : Number(item[name]);
|
||||
info[name] = isNaN(Number(item[name])) || !item[name] && item[name] !== 0 ? item[name] : Number(item[name]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -456,7 +456,7 @@ const exportData = () => {
|
||||
if(tableColumn.valueType == "str"){
|
||||
info[name] = item[name]
|
||||
}else{
|
||||
info[name] = isNaN(Number(item[name])) ? item[name] : Number(item[name])
|
||||
info[name] = isNaN(Number(item[name])) || (!item[name] && item[name] !== 0) ? item[name] : Number(item[name])
|
||||
}
|
||||
}
|
||||
|
||||
|
28
umd/index.js
28
umd/index.js
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user