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
7cc1fccd
Commit
7cc1fccd
authored
Aug 31, 2018
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove extra empty object argument
parent
5b24b0e3
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
19 additions
and
19 deletions
+19
-19
src/pages/Account/Settings/BaseView.js
src/pages/Account/Settings/BaseView.js
+8
-8
src/pages/Account/Settings/NotificationView.js
src/pages/Account/Settings/NotificationView.js
+2
-2
src/pages/Account/Settings/SecurityView.js
src/pages/Account/Settings/SecurityView.js
+1
-1
src/pages/Authorized.js
src/pages/Authorized.js
+1
-1
src/pages/Exception/403.js
src/pages/Exception/403.js
+1
-1
src/pages/Exception/404.js
src/pages/Exception/404.js
+1
-1
src/pages/Exception/500.js
src/pages/Exception/500.js
+1
-1
src/pages/Result/Error.js
src/pages/Result/Error.js
+2
-2
src/pages/Result/Success.js
src/pages/Result/Success.js
+2
-2
No files found.
src/pages/Account/Settings/BaseView.js
View file @
7cc1fccd
...
...
@@ -88,7 +88,7 @@ class BaseView extends Component {
<
div
className
=
{
styles
.
baseView
}
ref
=
{
this
.
getViewDom
}
>
<
div
className
=
{
styles
.
left
}
>
<
Form
layout
=
"
vertical
"
onSubmit
=
{
this
.
handleSubmit
}
hideRequiredMark
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.email
'
}
,
{}
)}
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.email
'
})}
>
{
getFieldDecorator
(
'
email
'
,
{
rules
:
[
{
...
...
@@ -98,7 +98,7 @@ class BaseView extends Component {
],
})(
<
Input
/>
)}
<
/FormItem
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.nickname
'
}
,
{}
)}
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.nickname
'
})}
>
{
getFieldDecorator
(
'
name
'
,
{
rules
:
[
{
...
...
@@ -108,7 +108,7 @@ class BaseView extends Component {
],
})(
<
Input
/>
)}
<
/FormItem
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.profile
'
}
,
{}
)}
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.profile
'
})}
>
{
getFieldDecorator
(
'
profile
'
,
{
rules
:
[
{
...
...
@@ -118,12 +118,12 @@ class BaseView extends Component {
],
})(
<
Input
.
TextArea
placeholder
=
{
formatMessage
({
id
:
'
app.settings.basic.profile-placeholder
'
}
,
{}
)}
placeholder
=
{
formatMessage
({
id
:
'
app.settings.basic.profile-placeholder
'
})}
rows
=
{
4
}
/
>
)}
<
/FormItem
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.country
'
}
,
{}
)}
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.country
'
})}
>
{
getFieldDecorator
(
'
country
'
,
{
rules
:
[
{
...
...
@@ -137,7 +137,7 @@ class BaseView extends Component {
<
/Select
>
)}
<
/FormItem
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.geographic
'
}
,
{}
)}
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.geographic
'
})}
>
{
getFieldDecorator
(
'
geographic
'
,
{
rules
:
[
{
...
...
@@ -150,7 +150,7 @@ class BaseView extends Component {
],
})(
<
GeographicView
/>
)}
<
/FormItem
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.address
'
}
,
{}
)}
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.address
'
})}
>
{
getFieldDecorator
(
'
address
'
,
{
rules
:
[
{
...
...
@@ -160,7 +160,7 @@ class BaseView extends Component {
],
})(
<
Input
/>
)}
<
/FormItem
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.phone
'
}
,
{}
)}
>
<
FormItem
label
=
{
formatMessage
({
id
:
'
app.settings.basic.phone
'
})}
>
{
getFieldDecorator
(
'
phone
'
,
{
rules
:
[
{
...
...
src/pages/Account/Settings/NotificationView.js
View file @
7cc1fccd
...
...
@@ -6,8 +6,8 @@ class NotificationView extends Component {
getData
=
()
=>
{
const
Action
=
(
<
Switch
checkedChildren
=
{
formatMessage
({
id
:
'
app.settings.open
'
}
,
{}
)}
unCheckedChildren
=
{
formatMessage
({
id
:
'
app.settings.close
'
}
,
{}
)}
checkedChildren
=
{
formatMessage
({
id
:
'
app.settings.open
'
})}
unCheckedChildren
=
{
formatMessage
({
id
:
'
app.settings.close
'
})}
defaultChecked
/>
);
...
...
src/pages/Account/Settings/SecurityView.js
View file @
7cc1fccd
...
...
@@ -28,7 +28,7 @@ class SecurityView extends Component {
title
:
formatMessage
({
id
:
'
app.settings.security.password
'
},
{}),
description
:
(
<
Fragment
>
{
formatMessage
({
id
:
'
app.settings.security.password-description
'
}
,
{}
)}
:
{
formatMessage
({
id
:
'
app.settings.security.password-description
'
})}
:
{
passwordStrength
.
strong
}
<
/Fragment
>
),
...
...
src/pages/Authorized.js
View file @
7cc1fccd
...
...
@@ -21,7 +21,7 @@ export default ({ children, route, location }) => {
const
noMatch
=
(
<
Exception
type
=
"
403
"
desc
=
{
formatMessage
({
id
:
'
app.exception.description.403
'
}
,
{}
)}
desc
=
{
formatMessage
({
id
:
'
app.exception.description.403
'
})}
linkElement
=
{
Link
}
backText
=
{
formatMessage
({
id
:
'
app.exception.back
'
})}
/
>
...
...
src/pages/Exception/403.js
View file @
7cc1fccd
...
...
@@ -6,7 +6,7 @@ import Exception from '@/components/Exception';
const
Exception403
=
()
=>
(
<
Exception
type
=
"
403
"
desc
=
{
formatMessage
({
id
:
'
app.exception.description.403
'
}
,
{}
)}
desc
=
{
formatMessage
({
id
:
'
app.exception.description.403
'
})}
linkElement
=
{
Link
}
backText
=
{
formatMessage
({
id
:
'
app.exception.back
'
})}
/
>
...
...
src/pages/Exception/404.js
View file @
7cc1fccd
...
...
@@ -6,7 +6,7 @@ import Exception from '@/components/Exception';
const
Exception404
=
()
=>
(
<
Exception
type
=
"
404
"
desc
=
{
formatMessage
({
id
:
'
app.exception.description.404
'
}
,
{}
)}
desc
=
{
formatMessage
({
id
:
'
app.exception.description.404
'
})}
linkElement
=
{
Link
}
backText
=
{
formatMessage
({
id
:
'
app.exception.back
'
})}
/
>
...
...
src/pages/Exception/500.js
View file @
7cc1fccd
...
...
@@ -6,7 +6,7 @@ import Exception from '@/components/Exception';
const
Exception500
=
()
=>
(
<
Exception
type
=
"
500
"
desc
=
{
formatMessage
({
id
:
'
app.exception.description.500
'
}
,
{}
)}
desc
=
{
formatMessage
({
id
:
'
app.exception.description.500
'
})}
linkElement
=
{
Link
}
backText
=
{
formatMessage
({
id
:
'
app.exception.back
'
})}
/
>
...
...
src/pages/Result/Error.js
View file @
7cc1fccd
...
...
@@ -55,8 +55,8 @@ export default () => (
<
Card
bordered
=
{
false
}
>
<
Result
type
=
"
error
"
title
=
{
formatMessage
({
id
:
'
app.result.error.title
'
}
,
{}
)}
description
=
{
formatMessage
({
id
:
'
app.result.error.description
'
}
,
{}
)}
title
=
{
formatMessage
({
id
:
'
app.result.error.title
'
})}
description
=
{
formatMessage
({
id
:
'
app.result.error.description
'
})}
extra
=
{
extra
}
actions
=
{
actions
}
style
=
{{
marginTop
:
48
,
marginBottom
:
16
}}
...
...
src/pages/Result/Success.js
View file @
7cc1fccd
...
...
@@ -132,8 +132,8 @@ export default () => (
<
Card
bordered
=
{
false
}
>
<
Result
type
=
"
success
"
title
=
{
formatMessage
({
id
:
'
app.result.success.title
'
}
,
{}
)}
description
=
{
formatMessage
({
id
:
'
app.result.success.description
'
}
,
{}
)}
title
=
{
formatMessage
({
id
:
'
app.result.success.title
'
})}
description
=
{
formatMessage
({
id
:
'
app.result.success.description
'
})}
extra
=
{
extra
}
actions
=
{
actions
}
style
=
{{
marginTop
:
48
,
marginBottom
:
16
}}
...
...
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