This commit is contained in:
kuangshen04 2024-02-14 09:30:10 +08:00
parent 4913bf5989
commit feafb4d9b1
1 changed files with 1 additions and 1 deletions

View File

@ -2253,7 +2253,7 @@ export class Get extends Uninstantable {
numStr = numStr.replace(/(?=(\d{4})+$)/g, ',').split(',').filter(Boolean); numStr = numStr.replace(/(?=(\d{4})+$)/g, ',').split(',').filter(Boolean);
const handleZero = str => { const handleZero = str => {
let result = str.replace(/零{2,}/g, '零'); let result = str.replace(/零{2,}/g, '零');
if (result.length > 1) replace(/零+$/g, ''); if (result.length > 1) result = result.replace(/零+$/g, '');
return result; return result;
}; };
const _transform = str => { const _transform = str => {