This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 238
左上角 logo 和 title 如何添加链接 #69
Comments
左上角的可以通过 logo 传入一个ReactNode进行定制化渲染 import { Link } from 'react-router'
<ProLayout
logo={() => (<Link to='/'>
<img src={require('@/assets/logo.png')} alt='' />
</Link>)}
</ProLayout> |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
如上图,如何给红框中的部分添加链接
我使用
报错:
我该如何做呢?
The text was updated successfully, but these errors were encountered: