diff --git a/packages/umi-ui/client/src/layouts/Dashboard.tsx b/packages/umi-ui/client/src/layouts/Dashboard.tsx index 902f3f017f4a..9fcc9655a502 100644 --- a/packages/umi-ui/client/src/layouts/Dashboard.tsx +++ b/packages/umi-ui/client/src/layouts/Dashboard.tsx @@ -168,6 +168,13 @@ export default withRouter(props => { ); + const openFullUmiUI = async url => { + await setCurrentProject({ + key: currentProject.key, + }); + window.open(url); + }; + return (
{isMini && ( @@ -187,9 +194,12 @@ export default withRouter(props => {