+ {/* Stars Group */}
+ {starList.length > 0 && (
+
}
+ count={starList.length}
+ bodies={starList}
+ isExpanded={expandedGroup === 'star'}
+ onToggle={() => toggleGroup('star')}
+ selectedBody={selectedBody}
+ onBodySelect={onBodySelect}
+ />
+ )}
+
{/* Planets Group */}
{planetList.length > 0 && (
)}
-
+
-
- 清除缓存会清空所有内存缓存和 Redis 缓存,包括:
-
- - 位置数据缓存(当前位置和历史位置)
- - NASA API 响应缓存
- - 所有其他临时缓存数据
+ - * 位置数据缓存(当前位置和历史位置)
+ - * NASA API 响应缓存
+ - * 所有其他临时缓存数据
-
- 清除后下次查询会重新从数据库或 NASA API 获取数据,可能会较慢
-
}
type="warning"
@@ -279,10 +273,6 @@ export function SystemSettings() {
清除所有缓存
-
-