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
203ea776
Commit
203ea776
authored
Aug 30, 2018
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format router.config.js
parent
74b1a284
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
6 deletions
+27
-6
config/router.config.js
config/router.config.js
+27
-6
No files found.
config/router.config.js
View file @
203ea776
...
@@ -33,15 +33,27 @@ module.exports = [
...
@@ -33,15 +33,27 @@ module.exports = [
icon
:
'
form
'
,
icon
:
'
form
'
,
name
:
'
form
'
,
name
:
'
form
'
,
routes
:
[
routes
:
[
{
path
:
'
/form/basic-form
'
,
name
:
'
basicform
'
,
component
:
'
./Forms/BasicForm
'
},
{
path
:
'
/form/basic-form
'
,
name
:
'
basicform
'
,
component
:
'
./Forms/BasicForm
'
,
},
{
{
path
:
'
/form/step-form
'
,
path
:
'
/form/step-form
'
,
name
:
'
stepform
'
,
name
:
'
stepform
'
,
component
:
'
./Forms/StepForm
'
,
component
:
'
./Forms/StepForm
'
,
hideChildren
:
true
,
hideChildren
:
true
,
routes
:
[
routes
:
[
{
path
:
'
/form/step-form
'
,
name
:
'
stepform
'
,
redirect
:
'
/form/step-form/info
'
},
{
{
path
:
'
/form/step-form/info
'
,
name
:
'
info
'
,
component
:
'
./Forms/StepForm/Step1
'
},
path
:
'
/form/step-form
'
,
name
:
'
stepform
'
,
redirect
:
'
/form/step-form/info
'
,
},
{
path
:
'
/form/step-form/info
'
,
name
:
'
info
'
,
component
:
'
./Forms/StepForm/Step1
'
,
},
{
{
path
:
'
/form/step-form/confirm
'
,
path
:
'
/form/step-form/confirm
'
,
name
:
'
confirm
'
,
name
:
'
confirm
'
,
...
@@ -133,7 +145,10 @@ module.exports = [
...
@@ -133,7 +145,10 @@ module.exports = [
name
:
'
center
'
,
name
:
'
center
'
,
component
:
'
./Account/Center/Center
'
,
component
:
'
./Account/Center/Center
'
,
routes
:
[
routes
:
[
{
path
:
'
/account/center
'
,
redirect
:
'
/account/center/articles
'
},
{
path
:
'
/account/center
'
,
redirect
:
'
/account/center/articles
'
,
},
{
{
path
:
'
/account/center/articles
'
,
path
:
'
/account/center/articles
'
,
component
:
'
./Account/Center/Articles
'
,
component
:
'
./Account/Center/Articles
'
,
...
@@ -153,7 +168,10 @@ module.exports = [
...
@@ -153,7 +168,10 @@ module.exports = [
name
:
'
settings
'
,
name
:
'
settings
'
,
component
:
'
./Account/Settings/Info
'
,
component
:
'
./Account/Settings/Info
'
,
routes
:
[
routes
:
[
{
path
:
'
/account/settings
'
,
redirect
:
'
/account/settings/base
'
},
{
path
:
'
/account/settings
'
,
redirect
:
'
/account/settings/base
'
,
},
{
{
path
:
'
/account/settings/base
'
,
path
:
'
/account/settings/base
'
,
component
:
'
./Account/Settings/BaseView
'
,
component
:
'
./Account/Settings/BaseView
'
,
...
@@ -162,7 +180,10 @@ module.exports = [
...
@@ -162,7 +180,10 @@ module.exports = [
path
:
'
/account/settings/security
'
,
path
:
'
/account/settings/security
'
,
component
:
'
./Account/Settings/SecurityView
'
,
component
:
'
./Account/Settings/SecurityView
'
,
},
},
{
path
:
'
/account/settings/binding
'
,
component
:
'
./Account/Settings/BindingView
'
},
{
path
:
'
/account/settings/binding
'
,
component
:
'
./Account/Settings/BindingView
'
,
},
{
{
path
:
'
/account/settings/notification
'
,
path
:
'
/account/settings/notification
'
,
component
:
'
./Account/Settings/NotificationView
'
,
component
:
'
./Account/Settings/NotificationView
'
,
...
...
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