Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
ik_invoicing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_frontend
ik_invoicing
Commits
bf3d7767
Commit
bf3d7767
authored
Jan 16, 2017
by
小明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加入 system 页路由映射
parent
d806bae9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
src/containers/Help/system.js
+1
-1
src/routes.js
+18
-1
No files found.
src/containers/Help/system.js
View file @
bf3d7767
...
...
@@ -15,7 +15,7 @@ export default class SystemPage extends Component { // eslint-disable-line react
render
()
{
return
(
<
div
className
=
"ik-margin-horizontal-10"
>
<
div
id
=
"mobile_help_system"
className
=
"ik-margin-horizontal-10"
>
<
h1
className
=
"ik-margin-top-15"
>
如何配置系统
<
/h1
>
<
h2
className
=
"ik-margin-top-15"
>
1
.
调整人员角色和权限
<
/h2
>
<
p
>
...
...
src/routes.js
View file @
bf3d7767
...
...
@@ -70,7 +70,7 @@ export default function createRoutes(store) {
},
{
path
:
'/help/feedback'
,
name
:
'
feedbackAbout
'
,
name
:
'
helpFeedback
'
,
getComponent
(
nextState
,
cb
)
{
const
importModules
=
Promise
.
all
([
System
.
import
(
'containers/help/feedback'
),
...
...
@@ -84,6 +84,23 @@ export default function createRoutes(store) {
importModules
.
catch
(
errorLoading
);
},
},
{
path
:
'/help/system'
,
name
:
'helpSystem'
,
getComponent
(
nextState
,
cb
)
{
const
importModules
=
Promise
.
all
([
System
.
import
(
'containers/help/system'
),
]);
const
renderRoute
=
loadModule
(
cb
);
importModules
.
then
(([
component
])
=>
{
renderRoute
(
component
);
});
importModules
.
catch
(
errorLoading
);
},
}
];
}
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