feat(窗口文案): 统一窗口标题及空状态文案
build.yaml / build (push) Successful in 45s

This commit is contained in:
xiaoqidun committed 2026-10-17 19:56:49 +08:00
1 parent e8c3f355d7
commit d44d096972
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -10735,7 +10735,7 @@ function renderMeta(keepDetails = false) {
});
el.documentSelect.value = String(doc.documentIndex || 0);
el.metaPanel.setAttribute("data-busy", String(!!doc.detailsPending));
document.title = `OFDGo WebUI - ${state.fileName}`;
document.title = state.doc ? `${nativeHost ? "OFDGo" : "OFDGo WebUI"} - ${state.fileName}` : "OFDGo - OFD编辑器";
el.metaFile.textContent = state.fileName;
el.metaTitle.textContent = doc.title || "-";
el.metaAuthor.textContent = doc.author || "-";