refactor(store): 重构ckchat模块为子目录结构

feat(test): 添加数据库测试页面和工具

将ckchat相关代码移动到store/module/ckchat子目录,包含数据定义和实现文件
添加数据库测试页面和工具类,支持服务器ID与本地ID映射
移除不再使用的initSafeArea函数
This commit is contained in:
2025-08-30 11:52:52 +08:00
parent c8d63bf93a
commit 13cb684abd
18 changed files with 1664 additions and 842 deletions

View File

@@ -113,9 +113,3 @@ export function getSafeAreaHeight() {
// 3. 默认值
return 0;
}
// 设置全局 CSS 变量
export function initSafeArea() {
const root = document.documentElement;
const height = getSafeAreaHeight();
root.style.setProperty("--safe-area-top", `${height}px`);
}