feat(assist): fixed sort by numeric attributes
This commit is contained in:
parent
bb8dee83fe
commit
0bc584cd10
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ const getValue = function (obj, key) {
|
|||
}
|
||||
|
||||
if (val !== undefined) {
|
||||
return val;
|
||||
return isNaN(val) ? val : Number(val);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue