fix: refresh list after creating key

This commit is contained in:
jialin
2026-06-03 15:50:06 +08:00
committed by jialin
parent 12f0bb2f98
commit 9f7a99f370
2 changed files with 11 additions and 9 deletions
+6 -6
View File
@@ -126,12 +126,12 @@ const APIKeys: React.FC = () => {
const handleModalOk = async () => {
try {
await fetchData();
setOpenAddModal({
open: false,
title: '',
action: PageAction.CREATE,
currentData: null
});
// setOpenAddModal({
// open: false,
// title: '',
// action: PageAction.CREATE,
// currentData: null
// });
} catch (error) {
// do nothing
}