feat(database): add CRUD operations for parsed sessions and update session name functionality
This commit is contained in:
@@ -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}
|
||||
>
|
||||
刷新数据
|
||||
|
||||
Reference in New Issue
Block a user