接入店铺列表数据
This commit is contained in:
@@ -21,6 +21,7 @@ import UserCenter from '@/pages/mall/admin/userCenter/index.uvue'
|
||||
// --- 店铺模块 ---
|
||||
import ShopManage from '@/pages/mall/admin/shop/manage.uvue'
|
||||
import ShopCreate from '@/pages/mall/admin/shop/create.uvue'
|
||||
import ShopAdminList from '@/pages/mall/admin/shop/shop-manage.uvue'
|
||||
|
||||
// --- 用户模块 ---
|
||||
import UserStatistic from '@/pages/mall/admin/user/statistics/index.uvue'
|
||||
@@ -192,6 +193,7 @@ export const componentMap: Map<string, any> = new Map([
|
||||
// 店铺模块
|
||||
['ShopManage', ShopManage],
|
||||
['ShopCreate', ShopCreate],
|
||||
['ShopAdminList', ShopAdminList],
|
||||
|
||||
// 用户模块
|
||||
['UserStatistic', UserStatistic],
|
||||
|
||||
@@ -244,6 +244,15 @@ export const routes: RouteRecord[] = [
|
||||
},
|
||||
|
||||
// ========== 店铺模块 ==========
|
||||
{
|
||||
id: 'shop_admin_list',
|
||||
title: '店铺列表',
|
||||
path: '/pages/mall/admin/shop/shop-manage',
|
||||
componentKey: 'ShopAdminList',
|
||||
parentId: 'shop',
|
||||
groupId: 'shop-manage',
|
||||
order: 1
|
||||
},
|
||||
{
|
||||
id: 'shop_manage',
|
||||
title: '我的店铺',
|
||||
@@ -251,7 +260,7 @@ export const routes: RouteRecord[] = [
|
||||
componentKey: 'ShopManage',
|
||||
parentId: 'shop',
|
||||
groupId: 'shop-manage',
|
||||
order: 1
|
||||
order: 2
|
||||
},
|
||||
{
|
||||
id: 'shop_create',
|
||||
@@ -261,7 +270,7 @@ export const routes: RouteRecord[] = [
|
||||
parentId: 'shop',
|
||||
groupId: 'shop-manage',
|
||||
hidden: true,
|
||||
order: 2
|
||||
order: 3
|
||||
},
|
||||
|
||||
// ========== 用户模块 ==========
|
||||
|
||||
Reference in New Issue
Block a user