|
|
@@ -83,7 +83,7 @@ const [registerTable, { refresh, setTableLoading }] = useTable({
|
|
|
}
|
|
|
});
|
|
|
|
|
|
-async function handleDelete(row: Recordable) {
|
|
|
+async function handleDelete(row: Api.operation.HotSearch) {
|
|
|
setTableLoading(true);
|
|
|
await fetchDeleteHotSearch([row.id]);
|
|
|
refresh();
|
|
|
@@ -93,7 +93,7 @@ const [registerModalForm, { openModal, closeModal, getFieldsValue, setFieldsValu
|
|
|
title: '跳转 ',
|
|
|
width: 700,
|
|
|
isShowHeaderText: true,
|
|
|
- height: 400
|
|
|
+ height: 500
|
|
|
},
|
|
|
formConfig: {
|
|
|
schemas: [
|
|
|
@@ -190,7 +190,7 @@ async function handleSubmit() {
|
|
|
refresh();
|
|
|
}
|
|
|
|
|
|
-async function edit(row: Recordable) {
|
|
|
+async function edit(row: Api.operation.HotSearch) {
|
|
|
openModal(row);
|
|
|
setFieldsValue(row);
|
|
|
}
|