feat: 去掉多余import
This commit is contained in:
@@ -19,7 +19,6 @@ import { ProCard } from "@ant-design/pro-components";
|
|||||||
import styles from "./index.module.less";
|
import styles from "./index.module.less";
|
||||||
import { Typography } from "antd";
|
import { Typography } from "antd";
|
||||||
import Comment from "@/components/Main/Share/components/ShareDetail/components/Comment";
|
import Comment from "@/components/Main/Share/components/ShareDetail/components/Comment";
|
||||||
import getRandomColor from "@/constant/random-color.ts";
|
|
||||||
const { Paragraph } = Typography;
|
const { Paragraph } = Typography;
|
||||||
import like from "@/assets/icons/like.svg";
|
import like from "@/assets/icons/like.svg";
|
||||||
import favorite from "@/assets/icons/favorite.svg";
|
import favorite from "@/assets/icons/favorite.svg";
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/** @format */
|
/** @format */
|
||||||
import { FunctionComponent, useEffect, useState } from "react";
|
import { FunctionComponent, useEffect, useState } from "react";
|
||||||
import { ProCard, ProForm, ProFormCascader } from "@ant-design/pro-components";
|
import { ProCard } from "@ant-design/pro-components";
|
||||||
import {
|
import {
|
||||||
Avatar,
|
Avatar,
|
||||||
Button,
|
Button,
|
||||||
@@ -17,7 +17,6 @@ import {
|
|||||||
} from "antd";
|
} from "antd";
|
||||||
import styles from "./index.module.less";
|
import styles from "./index.module.less";
|
||||||
import TextArea from "antd/es/input/TextArea";
|
import TextArea from "antd/es/input/TextArea";
|
||||||
import { city } from "@/constant/five-level-address.ts";
|
|
||||||
import { getUserInfoApi, updateUserInfo } from "@/api/user";
|
import { getUserInfoApi, updateUserInfo } from "@/api/user";
|
||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import useStore from "@/utils/store/useStore.tsx";
|
import useStore from "@/utils/store/useStore.tsx";
|
||||||
|
@@ -16,8 +16,7 @@ import { logout } from "@/api/user";
|
|||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import useStore from "@/utils/store/useStore.tsx";
|
import useStore from "@/utils/store/useStore.tsx";
|
||||||
import { getUserMenuPermission } from "@/api/user";
|
import { getUserMenuPermission } from "@/api/user";
|
||||||
import { clearStorage, getStorageFromKey, removeStorageFromKey } from "@/utils/localStorage/config.ts";
|
import { clearStorage } from "@/utils/localStorage/config.ts";
|
||||||
import localforage from "localforage";
|
|
||||||
|
|
||||||
const Layout = () => {
|
const Layout = () => {
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
|
Reference in New Issue
Block a user