Browse Source

Merge branch 'master' of http://git.ycjcjy.com/estateagents/pc-channel

zhoulisen 5 years ago
parent
commit
e231fa304b
2 changed files with 25 additions and 25 deletions
  1. 24
    24
      config/routes.js
  2. 1
    1
      src/pages/contact/contact/add.jsx

+ 24
- 24
config/routes.js View File

39
             hideInMenu: true,
39
             hideInMenu: true,
40
             component: './channel/edit',
40
             component: './channel/edit',
41
           },
41
           },
42
-          {
43
-            path: '/contact',
44
-            name: '联系人管理',
45
-            component: '../layouts/BlankLayout',
46
-            routes: [
47
-              {
48
-                path: '/contact/contact/list',
49
-                name: '联系人',
50
-                component: './contact/contact/list',
51
-              },
52
-              {
53
-                path: '/contact/contact/add',
54
-                name: '新增',
55
-                hideInMenu: true,
56
-                component: './contact/contact/add',
57
-              },
58
-              {
59
-                path: '/contact/contact/detail',
60
-                name: '详情',
61
-                hideInMenu: true,
62
-                component: './contact/contact/detail',
63
-              },
64
-            ],
65
-          },
66
           {
42
           {
67
             path: '/sample',
43
             path: '/sample',
68
             name: 'H5样例管理',
44
             name: 'H5样例管理',
92
               },
68
               },
93
             ],
69
             ],
94
           },
70
           },
71
+          {
72
+            path: '/contact',
73
+            name: '联系人管理',
74
+            component: '../layouts/BlankLayout',
75
+            routes: [
76
+              {
77
+                path: '/contact/contact/list',
78
+                name: '联系人',
79
+                component: './contact/contact/list',
80
+              },
81
+              {
82
+                path: '/contact/contact/add',
83
+                name: '新增',
84
+                hideInMenu: true,
85
+                component: './contact/contact/add',
86
+              },
87
+              {
88
+                path: '/contact/contact/detail',
89
+                name: '详情',
90
+                hideInMenu: true,
91
+                component: './contact/contact/detail',
92
+              },
93
+            ],
94
+          },
95
           {
95
           {
96
             path: '/resource',
96
             path: '/resource',
97
             name: '资源位管理',
97
             name: '资源位管理',

+ 1
- 1
src/pages/contact/contact/add.jsx View File

188
 
188
 
189
     const cancelPage = () => {
189
     const cancelPage = () => {
190
         router.push({
190
         router.push({
191
-            pathname: '/contact/pathname',
191
+            pathname: '/contact/contact/list',
192
         });
192
         });
193
     }
193
     }
194
 
194