docs: annotate all shared frontend modules in Chinese

This commit is contained in:
cieanyau committed 2026-11-06 00:30:15 +08:00
1 parent 2be21c1c62
commit 408f8e5c98
55 files changed
+349

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
/**
* 生成便于辨认的随机密码建议:至少含小写、大写和数字各一位,排除易混字符。
* 现有实现使用 Math.random(非密码学随机源),不能当作高强度密钥/令牌生成器;
* 即使 e 小于 3,三个必选字符也会保留。此处注释如实说明现有行为,不改变协议。
*/
function e(e = 12) {
let t = (e) => e[Math.floor(Math.random() * e.length)],
n = [