diff --git a/src/pages/HotManage/components/BannerList/index.jsx b/src/pages/HotManage/components/BannerList/index.jsx index d99fc96..9462433 100644 --- a/src/pages/HotManage/components/BannerList/index.jsx +++ b/src/pages/HotManage/components/BannerList/index.jsx @@ -559,10 +559,13 @@ const BannerList = (props) => { }; //关闭弹窗 const handleCancelModal = () => { - form.resetFields(); + form.setFieldsValue(formData); setPathMethod(""); + setSelectedStreamer(null); setIsModalOpen(false); + setZones(null); setDisplayImageId([]); + form.setFieldValue("mid", null); }; // const currentStreamerImage = useMemo(() => { @@ -695,7 +698,7 @@ const BannerList = (props) => { { className="mt-4 mb-4 float-right" onClick={() => setIsModalOpen(true)} > - 新建推送+ + 新建热榜+ {contextHolder} @@ -778,7 +778,7 @@ const HotList = (props) => {