Files
Nexus/docs/changelog/2026-06-21-btpanel-settings-empty-page.md
2026-07-08 22:31:31 +08:00

25 lines
791 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog — 宝塔连接配置页空白修复(2026-06-21)
**日期**2026-06-21
## 摘要
修复「连接配置」在未选服务器时整页几乎空白:全局设置(中心 IP、自动获取、批量初始化)现始终可见。
## 动机
`BtPanelPageShell` 原先要求先选服务器才渲染插槽,全局配置被挡在门外,用户看到白屏或仅一条提示。
## 涉及文件
- `frontend/src/components/btpanel/BtPanelPageShell.vue` — 新增 `requireServer`(默认 true
- `frontend/src/pages/btpanel/BtPanelSettingsPage.vue``require-server=false`,单机块按选中状态展示
## 迁移 / 重启
- 仅前端
## 验证
打开 `#/btpanel/settings`:应立刻看到「全局」卡片;选服务器后显示「当前服务器」表单。