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
P
pro-blocks
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
pro-blocks
Commits
72ce7835
Commit
72ce7835
authored
Sep 01, 2018
by
afc163
Committed by
陈帅
Sep 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add defaultSettings.js link
parent
c471e6c3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
src/components/SettingDrawer/index.js
src/components/SettingDrawer/index.js
+12
-1
src/components/SettingDrawer/index.less
src/components/SettingDrawer/index.less
+0
-1
src/locales/en-US.js
src/locales/en-US.js
+1
-1
src/locales/zh-CN.js
src/locales/zh-CN.js
+1
-1
No files found.
src/components/SettingDrawer/index.js
View file @
72ce7835
...
...
@@ -213,7 +213,18 @@ class SettingDrawer extends PureComponent {
<
Alert
type
=
"
warning
"
className
=
{
styles
.
productionHint
}
message
=
{
formatMessage
({
id
:
'
app.setting.production.hint
'
})}
message
=
{
<
div
>
{
formatMessage
({
id
:
'
app.setting.production.hint
'
})}{
'
'
}
<
a
href
=
"
https://u.ant.design/pro-v2-default-settings
"
target
=
"
_blank
"
rel
=
"
noopener noreferrer
"
>
src
/
defaultSettings
.
js
<
/a
>
<
/div
>
}
/
>
<
/div
>
<
/Drawer
>
...
...
src/components/SettingDrawer/index.less
View file @
72ce7835
...
...
@@ -70,6 +70,5 @@
.productionHint {
font-size: 12px;
color: @text-color-secondary;
margin-top: 16px;
}
src/locales/en-US.js
View file @
72ce7835
...
...
@@ -181,5 +181,5 @@ export default {
'
app.setting.copy
'
:
'
Copy Setting
'
,
'
app.setting.copyinfo
'
:
'
copy success,please replace defaultSettings in src/models/setting.js
'
,
'
app.setting.production.hint
'
:
'
Setting panel show in development enviorment only, please m
odify src/defaultSettings.js mannually.
'
,
'
Setting panel show in development enviorment only, please m
annually modify
'
,
};
src/locales/zh-CN.js
View file @
72ce7835
...
...
@@ -177,5 +177,5 @@ export default {
'
app.setting.copy
'
:
'
拷贝设置
'
,
'
app.setting.copyinfo
'
:
'
拷贝成功,请到 src/defaultSettings.js 中替换默认配置
'
,
'
app.setting.production.hint
'
:
'
配置栏只在开发环境用于预览,
请拷贝后手动修改 src/defaultSettings.js
'
,
'
配置栏只在开发环境用于预览,
生产环境不会展现,请拷贝后手动修改配置文件
'
,
};
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