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 = () => {
|
const openRename = () => {
|
||||||
if (!selectedSessionId) {
|
if (!selectedSessionId) {
|
||||||
info('请先选择一条解析数据');
|
info('请先选择一条解析数据');
|
||||||
@@ -259,7 +263,7 @@ const DatabasePage: React.FC = () => {
|
|||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={<ReloadOutlined />}
|
icon={<ReloadOutlined />}
|
||||||
onClick={loadSessions}
|
onClick={handleRefresh}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
>
|
>
|
||||||
刷新数据
|
刷新数据
|
||||||
|
|||||||
Reference in New Issue
Block a user