docs: annotate all shared frontend modules in Chinese
This commit is contained in:
1 parent
2be21c1c62
commit
408f8e5c98
55 files changed
+349
No files matched your search
@@ -1,3 +1,4 @@
|
||||
/** 商品模块分类和操作系统图标选择;模块标识仍按后端协议保留,不作为面向会员的文案。 */
|
||||
var e = {
|
||||
cloud: [
|
||||
`mf_cloud`,
|
||||
@@ -17,6 +18,7 @@ var e = {
|
||||
],
|
||||
common: [`idcsmart_common`, `mf_finance_common`],
|
||||
};
|
||||
/** 优先采用合法站内/HTTP(S)图片地址;否则从 e/n 的系统描述推断本地图标。 */
|
||||
function t(e, t, n) {
|
||||
let r = String(e ?? ``).trim();
|
||||
if (r && !/[\u0000-\u0020\u007f\\]/.test(r)) {
|
||||
@@ -27,6 +29,7 @@ function t(e, t, n) {
|
||||
return r;
|
||||
} catch {}
|
||||
}
|
||||
// t 是恢复导出的保留参数;当前实现以 e 和 n 匹配系统别名,未知系统显示 Other。
|
||||
let i = [
|
||||
[`Windows`, [`windows`, `winserver`]],
|
||||
[`Ubuntu`, [`ubuntu`]],
|
||||
|
||||
Reference in new issue
Block a user