fix: backend selection

This commit is contained in:
jialin
2026-01-30 20:48:55 +08:00
committed by Lawrence Li
parent a2be7f6b36
commit 4000aacb2c
27 changed files with 317 additions and 142 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
import DeleteModal from '@/components/delete-modal';
import IconFont from '@/components/icon-font';
import { FilterBar } from '@/components/page-tools';
import { PageAction } from '@/config';
import { PageActionType } from '@/config/types';
import useTableFetch from '@/hooks/use-table-fetch';
import { useIntl } from '@umijs/max';
@@ -122,7 +123,7 @@ const BackendList = () => {
const handleAddBackend = () => {
setOpenModalStatus({
open: true,
action: 'create'
action: PageAction.CREATE
});
};
@@ -161,6 +162,7 @@ const BackendList = () => {
enabled: item.action === 'enable'
}
});
handleSearch();
}
};