From 19fead491dd83c632393fdd9a47c7c64fbb47724 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Sun, 24 Mar 2019 12:37:11 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E9=85=8D=E7=BD=AE=20order=20=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=20-=20=E5=88=A0=E9=99=A4=E5=95=86=E5=93=81=E5=A4=9A?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BA=86=E4=B8=80=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-web/config/router.config.js | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/admin-web/config/router.config.js b/admin-web/config/router.config.js index 5fc60174d..db32843b6 100644 --- a/admin-web/config/router.config.js +++ b/admin-web/config/router.config.js @@ -52,9 +52,22 @@ export default [ component: './Admin/RoleList', }, { - path: '/admin/dictionary-list', - name: 'dictionary-list', - component: './Admin/DictionaryList', + path: '/admin/dictionary-list', + name: 'dictionary-list', + component: './Admin/DictionaryList', + }, + ], + }, + // order + { + path: 'order', + name: 'order', + icon: 'user', + routes: [ + { + path: '/order/order-list', + name: 'order-list', + component: './Order/OrderList', }, ], }, @@ -62,7 +75,7 @@ export default [ { path: '/product', name: 'product', - icon: 'product', + icon: 'user', routes: [ { path: '/product/product-spu-list', @@ -79,12 +92,7 @@ export default [ name: 'product-category-list', component: './Product/ProductCategoryList', }, - { - path: '/product/product-category-list', - name: 'product-category-list', - component: './Product/ProductCategoryList', - }, - ] + ], }, { path: '/dashboard',