|
|
@ -1,4 +1,4 @@ |
|
|
|
import { AvatarDropdown, AvatarName, Footer, Question, SelectLang } from '@/components'; |
|
|
|
import { AvatarDropdown, AvatarName, Question, SelectLang } from '@/components'; |
|
|
|
import { current } from '@/services/matrix/admin'; |
|
|
|
import { LinkOutlined } from '@ant-design/icons'; |
|
|
|
import { SettingDrawer } from '@ant-design/pro-components'; |
|
|
@ -94,7 +94,7 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) = |
|
|
|
links: isDev |
|
|
|
? [ |
|
|
|
<Link key="openapi" to="/umi/plugin/openapi" target="_blank"> |
|
|
|
<LinkOutlined /> |
|
|
|
<LinkOutlined onPointerEnterCapture={undefined} onPointerLeaveCapture={undefined} /> |
|
|
|
<span>OpenAPI 文档</span> |
|
|
|
</Link>, |
|
|
|
] |
|
|
|