/默认跳转地址

This commit is contained in:
caishi 2021-07-06 13:59:54 +08:00 committed by caishi
parent f2be69f4e3
commit 5b60d92063
1 changed files with 6 additions and 0 deletions

View File

@ -79,6 +79,12 @@ class Index extends Component {
<ProjectIndex {...this.props} {...props} />
)}
></Route>
<Route
path="/"
render={(props) => (
<ProjectIndex {...this.props} {...props} />
)}
></Route>
</Switch>
</div>
);