mirror of
https://github.com/KingHWJ/WeReadBoard.git
synced 2026-11-03 18:24:58 +08:00
feat: 添加配置读取工具,支持从环境变量和 .env 文件加载 WEREAD_API_KEY
fix: 修复启动脚本中的 Python 解释器路径识别 style: 更新样式以支持按钮最小宽度和灵活布局 docs: 添加项目最终文档,整合各类信息与说明
This commit is contained in:
1 parent
3d5a402117
commit
92a48d14cd
9 files changed
+461
-20
No files matched your search
+2
-2
@@ -324,7 +324,7 @@ async function refreshShelf() {
|
||||
const btn = document.getElementById("shelfRefreshBtn");
|
||||
const textEl = btn.querySelector(".btn-text");
|
||||
btn.disabled = true;
|
||||
btn.classList.add("loading");
|
||||
btn.classList.add("is-loading");
|
||||
textEl.textContent = "同步中...";
|
||||
|
||||
try {
|
||||
@@ -344,7 +344,7 @@ async function refreshShelf() {
|
||||
alert("刷新失败: " + (e.message || "未知错误"));
|
||||
} finally {
|
||||
btn.disabled = false;
|
||||
btn.classList.remove("loading");
|
||||
btn.classList.remove("is-loading");
|
||||
textEl.textContent = "刷新";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user