公用文件修改

This commit is contained in:
2026-10-13 11:47:49 +08:00
parent b6ee63299e
commit 3d765d2243
+2 -2
View File
@@ -181,7 +181,7 @@ export function generateSecurePassword(passwordLength:number) {
// 随机选择三种字符类型(保证至少三类)
const requiredTypes = shuffle(Object.keys(charSets)).slice(0, 3);
// 生成必选字符(每类至少1个)
let password = requiredTypes
.map((type:any) => getRandomChar(charSets[type]))
@@ -269,4 +269,4 @@ export const tagBgColor = (color: string) => {
// 边框颜色
export const tagBorderColor = (color: string) => {
return getColorWithOpacity((color || '#333'), 0.3);
}
}