diff --git a/components/Search/index.js b/components/Search/index.js index 71f0b84..9ca2dbe 100644 --- a/components/Search/index.js +++ b/components/Search/index.js @@ -1,4 +1,4 @@ -import { DownOutlined, UpOutlined } from "@ant-design/icons"; +import { DownOutlined, SearchOutlined, UndoOutlined, UpOutlined } from "@ant-design/icons"; import { Button, Col, Form, Row } from "antd"; import { useEffect, useRef, useState } from "react"; import FormItemsRenderer from "../FormBuilder/FormItemsRenderer"; @@ -87,14 +87,14 @@ const Search = (props) => { initialValues={values} /> - + {showSearchButton && ( - )} {showResetButton && ( - )} diff --git a/hooks/useDownloadFile/index.js b/hooks/useDownloadFile/index.js index 5907ed0..8cf2738 100644 --- a/hooks/useDownloadFile/index.js +++ b/hooks/useDownloadFile/index.js @@ -1,6 +1,6 @@ import { message, Modal } from "antd"; -import { getFileName, getFileSuffix, getFileUrl } from "../../utils/index.js"; import { useState } from "react"; +import { getFileName, getFileSuffix, getFileUrl } from "../../utils"; /** * 下载文件