refactor(store): 重构ckchat模块为子目录结构
feat(test): 添加数据库测试页面和工具 将ckchat相关代码移动到store/module/ckchat子目录,包含数据定义和实现文件 添加数据库测试页面和工具类,支持服务器ID与本地ID映射 移除不再使用的initSafeArea函数
This commit is contained in:
@@ -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`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user