Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
4420ae2c
Commit
4420ae2c
authored
Jun 25, 2019
by
ιεΈ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: sort import
parent
de794ded
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
3 deletions
+7
-3
src/components/CopyBlock/index.tsx
src/components/CopyBlock/index.tsx
+1
-1
src/components/GlobalHeader/AvatarDropdown.tsx
src/components/GlobalHeader/AvatarDropdown.tsx
+1
-0
src/components/HeaderSearch/index.tsx
src/components/HeaderSearch/index.tsx
+1
-1
src/components/SelectLang/index.tsx
src/components/SelectLang/index.tsx
+1
-0
src/layouts/UserLayout.tsx
src/layouts/UserLayout.tsx
+1
-0
src/pages/404.tsx
src/pages/404.tsx
+1
-1
src/pages/Authorized.tsx
src/pages/Authorized.tsx
+1
-0
No files found.
src/components/CopyBlock/index.tsx
View file @
4420ae2c
import
{
Icon
,
Popover
,
Typography
}
from
'
antd
'
;
import
React
,
{
useRef
}
from
'
react
'
;
import
{
FormattedMessage
}
from
'
umi-plugin-react/locale
'
;
import
React
,
{
useRef
}
from
'
react
'
;
import
{
connect
}
from
'
dva
'
;
import
{
isAntDesignPro
}
from
'
@/utils/utils
'
;
import
styles
from
'
./index.less
'
;
...
...
src/components/GlobalHeader/AvatarDropdown.tsx
View file @
4420ae2c
import
{
Avatar
,
Icon
,
Menu
,
Spin
}
from
'
antd
'
;
import
{
ConnectProps
,
ConnectState
}
from
'
@/models/connect
'
;
import
{
ClickParam
}
from
'
antd/es/menu
'
;
import
{
CurrentUser
}
from
'
@/models/user
'
;
import
{
FormattedMessage
}
from
'
umi-plugin-react/locale
'
;
...
...
src/components/HeaderSearch/index.tsx
View file @
4420ae2c
import
{
AutoComplete
,
Icon
,
Input
}
from
'
antd
'
;
import
{
AutoCompleteProps
,
DataSourceItemType
}
from
'
antd/es/auto-complete
'
;
import
React
,
{
Component
}
from
'
react
'
;
import
{
DataSourceItemType
,
AutoCompleteProps
}
from
'
antd/es/auto-complete
'
;
import
classNames
from
'
classnames
'
;
import
debounce
from
'
lodash/debounce
'
;
import
styles
from
'
./index.less
'
;
...
...
src/components/SelectLang/index.tsx
View file @
4420ae2c
import
{
Icon
,
Menu
}
from
'
antd
'
;
import
{
formatMessage
,
getLocale
,
setLocale
}
from
'
umi-plugin-react/locale
'
;
import
{
ClickParam
}
from
'
antd/es/menu
'
;
import
React
from
'
react
'
;
import
classNames
from
'
classnames
'
;
...
...
src/layouts/UserLayout.tsx
View file @
4420ae2c
import
{
ConnectProps
,
ConnectState
}
from
'
@/models/connect
'
;
import
{
DefaultFooter
,
MenuDataItem
,
getMenuData
,
getPageTitle
}
from
'
@ant-design/pro-layout
'
;
import
DocumentTitle
from
'
react-document-title
'
;
import
Link
from
'
umi/link
'
;
import
React
from
'
react
'
;
...
...
src/pages/404.tsx
View file @
4420ae2c
import
React
from
'
react
'
;
import
{
Button
}
from
'
antd
'
;
import
React
from
'
react
'
;
import
router
from
'
umi/router
'
;
// θΏιεΊθ―₯δ½Ώη¨ antd η 404 result η»δ»ΆοΌ
...
...
src/pages/Authorized.tsx
View file @
4420ae2c
import
{
ConnectProps
,
ConnectState
,
Route
,
UserModelState
}
from
'
@/models/connect
'
;
import
Authorized
from
'
@/utils/Authorized
'
;
import
React
from
'
react
'
;
import
Redirect
from
'
umi/redirect
'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment