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>
// 查询 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));