🎨 Clean code

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-01-04 21:15:12 +08:00
parent 12456ce23a
commit 950d419b91
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 9 additions and 6 deletions

View file

@ -1,4 +1,4 @@
export const code160to32 = (text: string) => {
// 非打断空格转换为空格
return text.replace(/\u00a0/g, " ");
return text.replace(/\u00A0/g, " ");
};