diff --git a/src/pages/account/settings/index.tsx b/src/pages/account/settings/index.tsx index 2d95923..e1dde67 100644 --- a/src/pages/account/settings/index.tsx +++ b/src/pages/account/settings/index.tsx @@ -12,6 +12,7 @@ import {Me} from "@icon-park/react"; import * as cache from "@/utils/cache"; import {menuHeaderDropdown} from "@/layouts/HomeLayout"; import {useSearchParams} from "@@/exports"; +import { history } from 'umi'; const {Item} = Menu; @@ -97,12 +98,17 @@ const Settings: React.FC = () => { const licence = cache.getItem2object('licence'); console.log(154, licence, licence?.licensedTo, licence.licensedStartTime); + const handleLogoClick = () => { + history.push('/'); + }; + return (