优化代码,拆分组件

This commit is contained in:
2025-10-28 11:58:02 +08:00
parent 4529c58aad
commit 00d7aee32a
22 changed files with 2745 additions and 3064 deletions

View File

@@ -1209,4 +1209,12 @@ const VOICES = [
},
];
export { VOICES };
const LOCALES = Array.from(
new Set(
VOICES.map((v) => v.locale)
.filter((v) => v.length === 5)
.toSorted(),
),
);
export { VOICES, LOCALES };