Compare commits
No commits in common. "9256bf4e8f76195f9b96ddec5ef9dc2346ca3fc8" and "5d4e086c520ceef50b65912963eda0650e864710" have entirely different histories.
9256bf4e8f
...
5d4e086c52
|
|
@ -1,4 +1,4 @@
|
|||
import { DownOutlined, SearchOutlined, UndoOutlined, UpOutlined } from "@ant-design/icons";
|
||||
import { DownOutlined, 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}
|
||||
/>
|
||||
<Col span={showCollapseButton ? (collapse ? 6 : span) : span}>
|
||||
<Form.Item label=" " labelCol={{ span: 2 }} colon={false} style={{ textAlign: "right" }}>
|
||||
<Form.Item label=" " colon={false} style={{ textAlign: "right" }}>
|
||||
{showSearchButton && (
|
||||
<Button type="primary" icon={<SearchOutlined />} onClick={handleSubmit}>
|
||||
<Button type="primary" onClick={handleSubmit}>
|
||||
{searchText}
|
||||
</Button>
|
||||
)}
|
||||
{showResetButton && (
|
||||
<Button style={{ marginLeft: 8 }} icon={<UndoOutlined />} onClick={handleReset}>
|
||||
<Button style={{ marginLeft: 8 }} onClick={handleReset}>
|
||||
{resetText}
|
||||
</Button>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
/**
|
||||
* 下载文件
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "zy-react-library",
|
||||
"private": false,
|
||||
"version": "1.0.32",
|
||||
"version": "1.0.30",
|
||||
"type": "module",
|
||||
"description": "",
|
||||
"author": "LiuJiaNan",
|
||||
|
|
|
|||
Loading…
Reference in New Issue