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

+3
View File
@@ -1,4 +1,6 @@
/** 商品下单跨登录的镜像选择续接;Symbol 用作组件树注入键,不将状态暴露为全局字符串键。 */
var e = Symbol(`order-login-continuation`);
// 只接受正安全整数;字符串须为规范十进制形式,避免前导零或指数写法产生歧义。
function t(e) {
if (typeof e != `number` && typeof e != `string`) return;
let t = Number(e);
@@ -17,6 +19,7 @@ function n(e) {
!/[\\\u0000-\u0020\u007f]/.test(t)
);
}
/** 校验站内回跳并替换 order_image;无效镜像参数被删除,无效路径统一回商品列表。 */
function r(e, r) {
try {
if (