Przeglądaj źródła

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

zhoulisen 5 lat temu
rodzic
commit
e231fa304b
2 zmienionych plików z 25 dodań i 25 usunięć
  1. 24
    24
      config/routes.js
  2. 1
    1
      src/pages/contact/contact/add.jsx

+ 24
- 24
config/routes.js Wyświetl plik

@@ -39,30 +39,6 @@ export default [
39 39
             hideInMenu: true,
40 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 43
             path: '/sample',
68 44
             name: 'H5样例管理',
@@ -92,6 +68,30 @@ export default [
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 96
             path: '/resource',
97 97
             name: '资源位管理',

+ 1
- 1
src/pages/contact/contact/add.jsx Wyświetl plik

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