docs: annotate payment, host operations and shared components

This commit is contained in:
cieanyau committed 2026-11-06 00:29:13 +08:00
1 parent d37ce57d09
commit dc32a74d7a
17 files changed
+100

No files matched your search

+2
View File
@@ -1,4 +1,5 @@
<script>
/** 根据站点强制安全方式决定是否渲染操作密码插槽;实际密码校验仍由提交接口负责。 */
import { onMounted } from "vue";
import { renderSlot } from "vue";
import { createCommentVNode } from "vue";
@@ -11,6 +12,7 @@ var s = Object.assign(
__name: `OperatePasswordGate`,
setup(a) {
let { config: s, load: c } = useSiteConfig_t(),
// 配置未加载或未开启 operate_password 时不显示,不自行推测站点策略。
l = computed(
() =>
Array.isArray(s.value?.home_enforce_safe_method) &&