feat(前端界面): 新增视图旋转,统一界面文案与按钮对齐
build.yaml / build (push) Successful in 38s

This commit is contained in:
xiaoqidun committed 2026-09-13 00:32:01 +08:00
1 parent 73d6cc1b41
commit e60ad5d6c2
5 files changed
+119 -66

No files matched your search

+2 -2
View File
@@ -106,12 +106,12 @@ async function updateBundle(meta) {
const resources = await Promise.all(ASSETS.map(async (url) => {
const response = await fetch(new Request(url, { cache: "no-store" }));
if (!response.ok || response.redirected) {
throw new Error("应用资源下载失败");
throw new Error("资源下载失败");
}
return { url, response };
}));
if (resources.some(({ response }) => response.headers.get("X-OFDGo-Checksum") !== BUNDLE_CHECKSUM)) {
throw new Error("应用资源版本不一致");
throw new Error("资源校验失败");
}
const bundle = { name: CACHE_PREFIX + crypto.randomUUID(), assets: ASSETS };
try {