Browse Source

chore: update code style

pull/9986/head
期贤 4 years ago
parent
commit
f82338dc62
  1. 20
      src/app.tsx
  2. 2
      src/components/index.md

20
src/app.tsx

@ -61,6 +61,26 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) =
history.push(loginPath);
}
},
layoutBgImgList: [
{
src: 'https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/D2LWSqNny4sAAAAAAAAAAAAAFl94AQBr',
left: 85,
bottom: 100,
height: '303px',
},
{
src: 'https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/C2TWRpJpiC0AAAAAAAAAAAAAFl94AQBr',
bottom: -68,
right: -45,
height: '303px',
},
{
src: 'https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/F6vSTbj8KpYAAAAAAAAAAAAAFl94AQBr',
bottom: 0,
left: 0,
width: '331px',
},
],
links: isDev
? [
<Link key="openapi" to="/umi/plugin/openapi" target="_blank">

2
src/components/index.md

@ -206,7 +206,7 @@ export default () => {
### NoticeIconData
```tsx | pure
export interface NoticeIconData {
export type NoticeIconData {
id: string;
key: string;
avatar: string;

Loading…
Cancel
Save