|
@@ -2,6 +2,8 @@ import LayoutMain from '@/framework/layout/Main'
|
|
import Dasboard from '@/views/dasboard'
|
|
import Dasboard from '@/views/dasboard'
|
|
//首页登录页面
|
|
//首页登录页面
|
|
import login from '@/framework/layout'
|
|
import login from '@/framework/layout'
|
|
|
|
+// 品牌管理
|
|
|
|
+import brand from '@/views/brand'
|
|
//测试页面
|
|
//测试页面
|
|
import test from '@/components/test'
|
|
import test from '@/components/test'
|
|
//产品管理
|
|
//产品管理
|
|
@@ -13,7 +15,7 @@ export default [
|
|
// 首页
|
|
// 首页
|
|
{
|
|
{
|
|
path: '/',
|
|
path: '/',
|
|
- name: '',
|
|
|
|
|
|
+ name: 'LayoutMain',
|
|
component: LayoutMain,
|
|
component: LayoutMain,
|
|
children: [{
|
|
children: [{
|
|
path: '',
|
|
path: '',
|
|
@@ -33,6 +35,18 @@ export default [
|
|
name: 'product',
|
|
name: 'product',
|
|
component: product,
|
|
component: product,
|
|
},
|
|
},
|
|
|
|
+ // 品牌管理
|
|
|
|
+ {
|
|
|
|
+ path: '/brand',
|
|
|
|
+ name: 'LayoutMain',
|
|
|
|
+ component: LayoutMain,
|
|
|
|
+ children: [{
|
|
|
|
+ path: '',
|
|
|
|
+ name: 'brand',
|
|
|
|
+ component: brand
|
|
|
|
+ },
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
{
|
|
{
|
|
path: '/test',
|
|
path: '/test',
|
|
name: 'test',
|
|
name: 'test',
|