mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-21 11:49:02 +08:00
feat(kv-storage): 实现 KV 存储服务及管理界面
- 重构 KV 存储服务,遵循 SECTL-One-Stop SDK 规范 - 新增 KV 存储管理组件,支持增删改查操作 - 优化 setKV 接口,移除冗余参数 - 添加类型定义和列表查询选项
This commit is contained in:
@@ -13,6 +13,8 @@ import {
|
||||
import { useSectl } from "../contexts/SectlContext"
|
||||
import { SectlLoginButton } from "./SectlLoginButton"
|
||||
import { ScoreSyncPanel } from "./ScoreSyncPanel"
|
||||
import { SectlCloudStorageManager } from "./SectlCloudStorageManager"
|
||||
import { SectlKVStorageManager } from "./SectlKVStorageManager"
|
||||
|
||||
export const SectlSettingsPanel: React.FC = () => {
|
||||
const { isAuthenticated, isLoading, userInfo, platformId, setPlatformId, refreshUserInfo } =
|
||||
@@ -152,6 +154,12 @@ export const SectlSettingsPanel: React.FC = () => {
|
||||
|
||||
{/* 数据同步面板 */}
|
||||
<ScoreSyncPanel />
|
||||
|
||||
{/* 云存储管理 */}
|
||||
<SectlCloudStorageManager />
|
||||
|
||||
{/* KV 存储管理 */}
|
||||
<SectlKVStorageManager />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user