feat: Vue SPA 添加 KDocs 在线状态显示 + 清理废弃模板
功能更新: - AccountsPage.vue: 工具栏显示 KDocs 在线状态(就绪/离线) - settings.js: 添加 fetchKdocsStatus API 函数 - 每60秒自动刷新状态 代码清理: - 删除废弃的 legacy 模板文件(约170KB) - templates/index.html - templates/login.html - templates/register.html - templates/reset_password.html 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -39,3 +39,8 @@ export async function updateKdocsSettings(payload) {
|
||||
const { data } = await publicApi.post('/user/kdocs', payload)
|
||||
return data
|
||||
}
|
||||
|
||||
export async function fetchKdocsStatus() {
|
||||
const { data } = await publicApi.get('/kdocs/status')
|
||||
return data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user