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,9 +1,11 @@
|
||||
/** 下单前确认真实配置模块;本地 DCIM 与转售 DCIM 使用不同配置组件,不能仅看商品名。 */
|
||||
function e(e) {
|
||||
let t = typeof e.module == `string` ? e.module.trim() : ``,
|
||||
n = typeof e.res_module == `string` ? e.res_module.trim() : ``;
|
||||
if (t === `mf_dcim`) return `mf_dcim`;
|
||||
if (t === `remf_dcim` || (!t && n === `mf_dcim`)) return `remf_dcim`;
|
||||
}
|
||||
// 已知非 mf_cloud 模块可直接使用;缺失/含糊时读取配置接口,取不到模块就明确失败。
|
||||
async function t(t, n) {
|
||||
let r = typeof n.module == `string` ? n.module.trim() : ``,
|
||||
i = e(n);
|
||||
|
||||
Reference in new issue
Block a user