Skip to content

Commit

Permalink
change sort
Browse files Browse the repository at this point in the history
  • Loading branch information
Xutaotaotao committed May 7, 2024
1 parent 99b7412 commit 75f5d8d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
8 changes: 2 additions & 6 deletions src/layouts/index.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
import { Nav, Layout,Typography } from "@douyinfe/semi-ui";
import {
IconSemiLogo,
} from "@douyinfe/semi-icons";
import { Nav, Layout } from "@douyinfe/semi-ui";
import { IconImage,IconIntro } from "@douyinfe/semi-icons-lab";
import styles from "./index.module.scss";
import "@/assets/normalize.css";
import { Outlet, useLocation, history } from "umi";
import { OnSelectedData } from "@douyinfe/semi-ui/lib/es/navigation";
import Logo from "@/assets/img/XTools.svg";
import JsonSvg from "@/assets/img/json.svg";
import ImageCompressSvg from "@/assets/img/imageCompress.svg";
import styles from "./index.module.scss";

const { Content } = Layout;

const {Title} = Typography

const NavMap = [
{itemKey: "/home", text: "首页", icon: <IconIntro className={styles.iconIntro}/>, className: styles.navItem},
Expand Down
7 changes: 4 additions & 3 deletions src/pages/imageCompress.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { InboxOutlined } from "@ant-design/icons";
import { Form,Button,Image } from "@douyinfe/semi-ui";
import { useRef, useState } from "react";
import { Card, Col, Row, Upload } from "antd";
import Compressor from "compressorjs";
import { useRef, useState } from "react";
import { InboxOutlined } from "@ant-design/icons";
import { Form,Button,Image } from "@douyinfe/semi-ui";


const { Dragger } = Upload;

Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Button, Col,Space, Row } from "antd";
import { Typography } from '@douyinfe/semi-ui';
import { history } from "umi";
import "./index.scss";
import bigLogo from "@/assets/img/biglogo1.svg";
import "./index.scss";
const { Title } = Typography;


Expand Down

0 comments on commit 75f5d8d

Please sign in to comment.