feat(前端界面): 统一没有字体时的描述
build.yaml / build (push) Successful in 34s

This commit is contained in:
2026-07-03 20:48:55 +08:00
parent c7cc251036
commit 4a141466b2
+2 -2
View File
@@ -373,7 +373,7 @@ async function loadDocumentLocalFonts(available, openSeq = state.openSeq) {
const docNames = externalDocumentFontNames();
if (!docFonts.length) {
state.localFonts = [];
setStatus("当前 OFD 未声明字体");
setStatus("暂无字体");
updateFontSummary();
renderFontList();
return false;
@@ -1356,7 +1356,7 @@ function renderDocumentFonts() {
if (!fonts.length) {
const empty = document.createElement("div");
empty.className = "font-empty";
empty.textContent = "未声明字体";
empty.textContent = "暂无字体";
el.docFontList.append(empty);
return;
}