|
@@ -15,7 +15,7 @@ import {
|
|
|
} from "@/store/action/A2Gallery";
|
|
} from "@/store/action/A2Gallery";
|
|
|
import { A2TableType } from "@/types";
|
|
import { A2TableType } from "@/types";
|
|
|
import { useDispatch, useSelector } from "react-redux";
|
|
import { useDispatch, useSelector } from "react-redux";
|
|
|
-import { RootState } from "@/store";
|
|
|
|
|
|
|
+import { AppDispatch, RootState } from "@/store";
|
|
|
import { Button, Form, FormInstance, Input, Popconfirm, Table } from "antd";
|
|
import { Button, Form, FormInstance, Input, Popconfirm, Table } from "antd";
|
|
|
import TextArea from "antd/es/input/TextArea";
|
|
import TextArea from "antd/es/input/TextArea";
|
|
|
import ImageLazy from "@/components/ImageLazy";
|
|
import ImageLazy from "@/components/ImageLazy";
|
|
@@ -30,7 +30,7 @@ type Props = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
function A2Edit({ editInfo, editFu, closeFu }: Props) {
|
|
function A2Edit({ editInfo, editFu, closeFu }: Props) {
|
|
|
- const dispatch = useDispatch();
|
|
|
|
|
|
|
+ const dispatch = useDispatch<AppDispatch>();
|
|
|
|
|
|
|
|
// 下面表格数据
|
|
// 下面表格数据
|
|
|
const inTableInfo = useSelector(
|
|
const inTableInfo = useSelector(
|