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
4e380b33
Commit
4e380b33
authored
Jun 06, 2019
by
ιεΈ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change lib to es
parent
3d3b5ad4
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
11 deletions
+11
-11
config/plugin.config.ts
config/plugin.config.ts
+1
-1
src/components/GlobalFooter/index.less
src/components/GlobalFooter/index.less
+1
-1
src/components/GlobalHeader/AvatarDropdown.tsx
src/components/GlobalHeader/AvatarDropdown.tsx
+1
-1
src/components/GlobalHeader/index.less
src/components/GlobalHeader/index.less
+1
-1
src/components/HeaderDropdown/index.less
src/components/HeaderDropdown/index.less
+1
-1
src/components/HeaderSearch/index.less
src/components/HeaderSearch/index.less
+1
-1
src/components/NoticeIcon/NoticeList.less
src/components/NoticeIcon/NoticeList.less
+1
-1
src/components/NoticeIcon/index.less
src/components/NoticeIcon/index.less
+1
-1
src/components/SelectLang/index.less
src/components/SelectLang/index.less
+1
-1
src/global.less
src/global.less
+1
-1
src/layouts/UserLayout.less
src/layouts/UserLayout.less
+1
-1
No files found.
config/plugin.config.ts
View file @
4e380b33
...
@@ -64,7 +64,7 @@ export default (config: any) => {
...
@@ -64,7 +64,7 @@ export default (config: any) => {
// {
// {
// antDir: path.join(__dirname, '../node_modules/antd'),
// antDir: path.join(__dirname, '../node_modules/antd'),
// stylesDir,
// stylesDir,
// varFile: path.join(__dirname, '../node_modules/antd/
lib
/style/themes/default.less'),
// varFile: path.join(__dirname, '../node_modules/antd/
es
/style/themes/default.less'),
// mainLessFile: outFile, // themeVariables: ['@primary-color'],
// mainLessFile: outFile, // themeVariables: ['@primary-color'],
// indexFileName: 'index.html',
// indexFileName: 'index.html',
// generateOne: true,
// generateOne: true,
...
...
src/components/GlobalFooter/index.less
View file @
4e380b33
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.globalFooter {
.globalFooter {
margin: 48px 0 24px 0;
margin: 48px 0 24px 0;
...
...
src/components/GlobalHeader/AvatarDropdown.tsx
View file @
4e380b33
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
Avatar
,
Menu
,
Spin
,
Icon
}
from
'
antd
'
;
import
{
Avatar
,
Menu
,
Spin
,
Icon
}
from
'
antd
'
;
import
{
FormattedMessage
}
from
'
umi-plugin-react/locale
'
;
import
{
FormattedMessage
}
from
'
umi-plugin-react/locale
'
;
import
{
ClickParam
}
from
'
antd/
lib
/menu
'
;
import
{
ClickParam
}
from
'
antd/
es
/menu
'
;
import
{
ConnectProps
,
ConnectState
}
from
'
@/models/connect
'
;
import
{
ConnectProps
,
ConnectState
}
from
'
@/models/connect
'
;
import
{
CurrentUser
}
from
'
@/models/user
'
;
import
{
CurrentUser
}
from
'
@/models/user
'
;
import
{
connect
}
from
'
dva
'
;
import
{
connect
}
from
'
dva
'
;
...
...
src/components/GlobalHeader/index.less
View file @
4e380b33
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
@pro-header-hover-bg: rgba(0, 0, 0, 0.025);
@pro-header-hover-bg: rgba(0, 0, 0, 0.025);
...
...
src/components/HeaderDropdown/index.less
View file @
4e380b33
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.container > * {
.container > * {
background-color: #fff;
background-color: #fff;
...
...
src/components/HeaderSearch/index.less
View file @
4e380b33
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.headerSearch {
.headerSearch {
:global(.anticon-search) {
:global(.anticon-search) {
...
...
src/components/NoticeIcon/NoticeList.less
View file @
4e380b33
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.list {
.list {
max-height: 400px;
max-height: 400px;
...
...
src/components/NoticeIcon/index.less
View file @
4e380b33
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.popover {
.popover {
position: relative;
position: relative;
...
...
src/components/SelectLang/index.less
View file @
4e380b33
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.menu {
.menu {
:global(.anticon) {
:global(.anticon) {
...
...
src/global.less
View file @
4e380b33
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
html,
html,
body,
body,
...
...
src/layouts/UserLayout.less
View file @
4e380b33
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.container {
.container {
display: flex;
display: flex;
...
...
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