docs: annotate remaining routes layouts and view boundaries

This commit is contained in:
cieanyau committed 2026-11-06 00:34:17 +08:00
1 parent 408f8e5c98
commit ab22d406c0
56 files changed
+403

No files matched your search

+6
View File
@@ -1,4 +1,7 @@
<script>
/**
* 独立远控窗口:校验 hostId 与受支持模块后挂载 RemoteConsole;mf_dcim 先收集操作密码,页面只管理连接界面,不在前端保存长期远控凭据。
*/
import "~/assets/styles/RemoteConsole.DLmX5UZu.css";
import "~/assets/styles/remote-console.zcxaOxxS.css";
definePageMeta({
@@ -101,9 +104,11 @@ var O = {
},
),
V = computed(() => z.value === `mf_dcim` && !I.value);
// 用户确认操作密码后开放远控组件挂载,实际鉴权由远控请求和网关完成。
function H() {
((I.value = !0), (P.value = !0));
}
// 重新连接时清空密码与确认状态,必要时重新显示密码门禁。
function U() {
((F.value = ``), (I.value = !1), (P.value = !0));
}
@@ -117,6 +122,7 @@ var O = {
onBeforeUnmount(() => {
F.value = ``;
}),
// 仅在编号与模块有效且密码门禁已通过时挂载远控组件;无效/已关闭状态显示返回入口与重连操作。
(t, n) => {
let i = RemoteConsole,
s = NuxtLink,