docs: annotate funds, backups and loading states

This commit is contained in:
cieanyau committed 2026-11-06 00:37:46 +08:00
1 parent 179c6febf0
commit 74e94730e0
8 files changed
+24

No files matched your search

@@ -1,4 +1,5 @@
<script>
// 为 mf_cloud/remf_cloud 的 Windows 实例提供 RDP 文件下载,其他模块或镜像不启用。
import "~/assets/styles/CloudAccessExtras.CnBJlFAZ.css";
import { toDisplayString } from "vue";
import { onBeforeUnmount } from "vue";
@@ -53,6 +54,7 @@ var y = {
D = ref(``),
O = 0,
k = !1;
// 将接口文本转成临时下载链接,净化文件名并释放 Blob URL;实例变更后忽略旧响应。
async function A() {
if (!w.value || !T.value || E.value || k) return;
let e = O;
@@ -1,4 +1,5 @@
<script>
// 查询 DCIM 重装任务进度;有任务时有限轮询,实例或刷新版本变化后重新开始。
import "~/assets/styles/DcimReinstallStatus.CuXeXmZ3.css";
import { toDisplayString } from "vue";
import { onMounted } from "vue";
@@ -42,6 +43,7 @@ var m = {
C = !1,
w = 0,
T;
// 每十秒调度;页面隐藏或存在弹窗时暂缓查询,减少后台流量及界面干扰。
function E() {
T = setTimeout(() => {
if (!C) {
@@ -56,6 +58,7 @@ var m = {
}
}, 1e4);
}
// 仅接受 task_type 有效的任务数组,发现进行中任务后最多推进 60 轮查询。
async function D(e = !0) {
if (v.value || C) return;
(clearTimeout(T), e && (w = 0));
@@ -1,4 +1,5 @@
<script>
// 实例详情加载占位:保持页签与卡片布局,用 aria-busy 告知辅助技术正在加载。
import "~/assets/styles/InstanceLoadingShell.CwfiUwdU.css";
import { renderList } from "vue";
import { normalizeClass } from "vue";
@@ -1,4 +1,5 @@
<script>
// 监控加载占位按模块展示一张 DCIM 图或四张云监控图,不触发任何监控请求。
import "~/assets/styles/InstanceMonitorSkeleton.C0FT51jJ.css";
import { renderList } from "vue";
import { normalizeClass } from "vue";
@@ -1,4 +1,5 @@
<script>
// 优先展示调用方已归一化的状态,否则结合电源状态与生命周期生成统一状态标签。
import { createBlock } from "vue";
import { computed } from "vue";
import { unref } from "vue";