refactor: 优化电量监控系统主题与统计逻辑
- 添加深色模式适配,跟随系统主题自动切换 - 替换硬编码样式为CSS变量实现主题统一管理 - 重构后端统计计算逻辑,优化当日用电估算方式 - 更新页面标题与站点图标,调整登录页样式 - 移除冗余的data目录拷贝配置
This commit is contained in:
@@ -30,7 +30,6 @@ ENV TZ=Asia/Shanghai
|
||||
COPY --from=builder /app/node_modules ./node_modules
|
||||
COPY server.js .
|
||||
COPY --from=client-builder /app/dist ./client/dist
|
||||
COPY data ./data
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user