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
2955f9a1
Commit
2955f9a1
authored
Sep 21, 2018
by
kennylbj
Committed by
εε³
Sep 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
79fa848e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
mock/chart.js
mock/chart.js
+0
-1
src/layouts/BasicLayout.js
src/layouts/BasicLayout.js
+2
-2
src/models/setting.js
src/models/setting.js
+1
-1
No files found.
mock/chart.js
View file @
2955f9a1
...
@@ -158,7 +158,6 @@ const radarOriginData = [
...
@@ -158,7 +158,6 @@ const radarOriginData = [
},
},
];
];
//
const
radarData
=
[];
const
radarData
=
[];
const
radarTitleMap
=
{
const
radarTitleMap
=
{
ref
:
'
εΌη¨
'
,
ref
:
'
εΌη¨
'
,
...
...
src/layouts/BasicLayout.js
View file @
2955f9a1
...
@@ -206,8 +206,8 @@ class BasicLayout extends React.PureComponent {
...
@@ -206,8 +206,8 @@ class BasicLayout extends React.PureComponent {
};
};
renderSettingDrawer
()
{
renderSettingDrawer
()
{
// Do
show
SettingDrawer in production
// Do
not render
SettingDrawer in production
// unless deployed in preview.pro.ant.design as demo
// unless
it is
deployed in preview.pro.ant.design as demo
const
{
rendering
}
=
this
.
state
;
const
{
rendering
}
=
this
.
state
;
if
((
rendering
||
process
.
env
.
NODE_ENV
===
'
production
'
)
&&
APP_TYPE
!==
'
site
'
)
{
if
((
rendering
||
process
.
env
.
NODE_ENV
===
'
production
'
)
&&
APP_TYPE
!==
'
site
'
)
{
return
null
;
return
null
;
...
...
src/models/setting.js
View file @
2955f9a1
...
@@ -3,7 +3,7 @@ import defaultSettings from '../defaultSettings';
...
@@ -3,7 +3,7 @@ import defaultSettings from '../defaultSettings';
let
lessNodesAppended
;
let
lessNodesAppended
;
const
updateTheme
=
primaryColor
=>
{
const
updateTheme
=
primaryColor
=>
{
//
//
Don't compile less in production!
// Don't compile less in production!
if
(
APP_TYPE
!==
'
site
'
)
{
if
(
APP_TYPE
!==
'
site
'
)
{
return
;
return
;
}
}
...
...
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