feat: 封装头部扩容

This commit is contained in:
2024-12-13 23:02:41 +08:00
parent eb98ae4fd8
commit 5b8715b591
9 changed files with 341 additions and 62 deletions

View File

@@ -12,7 +12,7 @@ import {
Input,
InputNumber,
Select,
message,
// message,
} from "antd";
import { PlusOutlined, EditOutlined } from "@ant-design/icons";
@@ -387,6 +387,12 @@ export default function SectionHeaders() {
});
};
const handleRequestExtendLastSection = () => {
invoke("command_expand_headers", {
expandSize: 0xffff,
});
}
useEffect(() => {
requestData();
}, []);
@@ -406,9 +412,7 @@ export default function SectionHeaders() {
type="primary"
icon={<EditOutlined />}
className={styles.optionItem}
onClick={() => {
message.info("还没有实现!");
}}
onClick={handleRequestExtendLastSection}
>
</Button>