优化日内温度曲线图加载性能并修复图标旋转动画
- AiCityTemperatureChart:React.memo 包裹 + useMemo 依赖移除 detail 避免每帧重算 - ScanTerminalCard 等 9 个 CSS Module:animation: spin 改为 :global(spin) 修复 CSS Modules 作用域问题
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
border: 2px solid rgba(34, 211, 238, 0.18);
|
||||
border-top-color: #22d3ee;
|
||||
border-radius: 999px;
|
||||
animation: spin 0.8s linear infinite;
|
||||
animation: :global(spin) 0.8s linear infinite;
|
||||
}
|
||||
|
||||
.root :global(.future-v2-sync-strip) {
|
||||
|
||||
Reference in New Issue
Block a user