fix table qfw
This commit is contained in:
@@ -47,7 +47,10 @@ const emit = defineEmits([
|
||||
"update:selectedKeys",
|
||||
"update:selectedKey",
|
||||
]);
|
||||
function toThousands(num: number | string) {
|
||||
function toThousands(num: number | string | undefined) {
|
||||
if(typeof num == 'undefined'){
|
||||
return ''
|
||||
}
|
||||
if (typeof num == "string") {
|
||||
num = parseFloat(num || "0");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user