feat(database): add CRUD operations for parsed sessions and update session name functionality

This commit is contained in:
kever
2026-02-16 00:43:11 +08:00
parent f0a26e31f9
commit aeab7f67a8

View File

@@ -84,6 +84,10 @@ const DatabasePage: React.FC = () => {
}
};
const handleRefresh = () => {
loadSessions();
};
const openRename = () => {
if (!selectedSessionId) {
info('请先选择一条解析数据');
@@ -259,7 +263,7 @@ const DatabasePage: React.FC = () => {
<Button
type="primary"
icon={<ReloadOutlined />}
onClick={loadSessions}
onClick={handleRefresh}
loading={loading}
>