✨ feat: 删除无用代码
This commit is contained in:
parent
81d2172252
commit
77d6d91a41
|
@ -46,219 +46,176 @@ import UseCouponCommodity from '@/pages/coupon/commodity';
|
|||
const router = [
|
||||
{
|
||||
path: '/home/extension',
|
||||
component: Extension,
|
||||
meta: { exact: true }
|
||||
component: Extension
|
||||
},
|
||||
{
|
||||
path: '/home/distributor',
|
||||
component: Distributor,
|
||||
meta: { exact: true }
|
||||
component: Distributor
|
||||
},
|
||||
{
|
||||
path: '/home/exchangepage',
|
||||
component: ExchangePage,
|
||||
meta: { exact: true }
|
||||
component: ExchangePage
|
||||
},
|
||||
{
|
||||
path: '/home/mytempMould',
|
||||
component: MyTempMouldAdd,
|
||||
meta: { exact: true }
|
||||
component: MyTempMouldAdd
|
||||
},
|
||||
{
|
||||
path: '/home/myexchangetemplate',
|
||||
component: MyExChangeTemplate,
|
||||
meta: { exact: true }
|
||||
component: MyExChangeTemplate
|
||||
},
|
||||
{
|
||||
path: '/home/order-list',
|
||||
component: OrderList,
|
||||
meta: { exact: true }
|
||||
component: OrderList
|
||||
},
|
||||
{
|
||||
path: '/home/download-orderlist',
|
||||
component: downloadList,
|
||||
meta: { exact: true }
|
||||
component: downloadList
|
||||
},
|
||||
|
||||
{
|
||||
path: '/home/order-addetails',
|
||||
component: OrderDetails,
|
||||
meta: { exact: true }
|
||||
component: OrderDetails
|
||||
},
|
||||
{
|
||||
path: '/home/order-add',
|
||||
component: OrderAdd,
|
||||
meta: { exact: true }
|
||||
component: OrderAdd
|
||||
},
|
||||
{
|
||||
path: '/home/plan',
|
||||
component: Plan,
|
||||
meta: { exact: true }
|
||||
component: Plan
|
||||
},
|
||||
{
|
||||
path: '/home/plan-list',
|
||||
component: PlanList,
|
||||
meta: { exact: true }
|
||||
component: PlanList
|
||||
},
|
||||
{
|
||||
path: '/home/plan-qrcode',
|
||||
component: Qrcode,
|
||||
meta: { exact: true }
|
||||
component: Qrcode
|
||||
},
|
||||
{
|
||||
path: '/home/plan-create',
|
||||
component: PlanAdd,
|
||||
meta: { exact: true }
|
||||
component: PlanAdd
|
||||
},
|
||||
{
|
||||
path: '/home/plan-edit',
|
||||
component: PlanEdit,
|
||||
meta: { exact: true }
|
||||
component: PlanEdit
|
||||
},
|
||||
{
|
||||
path: '/home/plan-edit-copy',
|
||||
component: PlanEditCopy,
|
||||
meta: { exact: true }
|
||||
component: PlanEditCopy
|
||||
},
|
||||
{
|
||||
path: '/home/key-list',
|
||||
component: KeyList,
|
||||
meta: { exact: true }
|
||||
component: KeyList
|
||||
},
|
||||
{
|
||||
path: '/home/plan-keyList',
|
||||
component: KeysList,
|
||||
meta: { exact: true }
|
||||
component: KeysList
|
||||
},
|
||||
{
|
||||
path: '/home/key-edit',
|
||||
component: KeyEdit,
|
||||
meta: { exact: true }
|
||||
component: KeyEdit
|
||||
},
|
||||
{
|
||||
path: '/home/key-addEdit',
|
||||
component: keyAddEdit,
|
||||
meta: { exact: true }
|
||||
component: keyAddEdit
|
||||
},
|
||||
{
|
||||
path: '/home/key-detail',
|
||||
component: KeyDetail,
|
||||
meta: { exact: true }
|
||||
component: KeyDetail
|
||||
},
|
||||
{
|
||||
path: '/home/key-log',
|
||||
component: KeyLog,
|
||||
meta: { exact: true }
|
||||
component: KeyLog
|
||||
},
|
||||
{
|
||||
path: '/home/addkeyorder',
|
||||
component: KeyOrderList,
|
||||
meta: { exact: true }
|
||||
component: KeyOrderList
|
||||
},
|
||||
{
|
||||
path: '/home/system/account-add',
|
||||
component: AccountAdd,
|
||||
meta: { exact: true }
|
||||
component: AccountAdd
|
||||
},
|
||||
{
|
||||
path: '/home/system/subaccount-list',
|
||||
component: SubAccountList,
|
||||
meta: { exact: true }
|
||||
component: SubAccountList
|
||||
},
|
||||
{
|
||||
path: '/home/system/subaccount-add',
|
||||
component: SubAccountAdd,
|
||||
meta: { exact: true }
|
||||
component: SubAccountAdd
|
||||
},
|
||||
{
|
||||
path: '/home/system/role-list',
|
||||
component: RoleList,
|
||||
meta: { exact: true }
|
||||
component: RoleList
|
||||
},
|
||||
{
|
||||
path: '/home/system/role-add',
|
||||
component: RoleAdd,
|
||||
meta: { exact: true }
|
||||
component: RoleAdd
|
||||
},
|
||||
{
|
||||
path: '/home/system/station',
|
||||
component: Station,
|
||||
meta: { exact: true }
|
||||
component: Station
|
||||
},
|
||||
{
|
||||
path: '/home/system/customize',
|
||||
component: Customize,
|
||||
meta: { exact: true }
|
||||
component: Customize
|
||||
},
|
||||
{
|
||||
path: '/home/system/menu',
|
||||
component: Menu,
|
||||
meta: { exact: true }
|
||||
component: Menu
|
||||
},
|
||||
{
|
||||
path: '/home/system/my-mould',
|
||||
component: MyMould,
|
||||
meta: { exact: true }
|
||||
component: MyMould
|
||||
},
|
||||
{
|
||||
path: '/home/distributor-list',
|
||||
component: DistriButorList,
|
||||
meta: { exact: true }
|
||||
component: DistriButorList
|
||||
},
|
||||
{
|
||||
path: '/home/distributor-add',
|
||||
component: DistriButorAdd,
|
||||
meta: { exact: true }
|
||||
component: DistriButorAdd
|
||||
},
|
||||
{
|
||||
path: '/home/distributor-edit',
|
||||
component: DistriButorEdit,
|
||||
meta: { exact: true }
|
||||
component: DistriButorEdit
|
||||
},
|
||||
{
|
||||
path: '/home/exchangecode-list',
|
||||
component: ExchangeCodeList,
|
||||
meta: { exact: true }
|
||||
component: ExchangeCodeList
|
||||
},
|
||||
{
|
||||
path: '/home/exchangecode-add',
|
||||
component: ExchangeCodeAdd,
|
||||
meta: { exact: true }
|
||||
component: ExchangeCodeAdd
|
||||
},
|
||||
{
|
||||
path: '/home/exchange-addcommodity',
|
||||
component: ExchangeCommodity,
|
||||
meta: { exact: true }
|
||||
component: ExchangeCommodity
|
||||
},
|
||||
{
|
||||
path: '/home/product-edit',
|
||||
component: ProductEdit,
|
||||
meta: { exact: true }
|
||||
component: ProductEdit
|
||||
},
|
||||
{
|
||||
path: '/home/system/account-list',
|
||||
component: AccountList,
|
||||
meta: { exact: true }
|
||||
component: AccountList
|
||||
},
|
||||
{
|
||||
path: '/home/exchangecode-exchangecodeAdd',
|
||||
component: ExchangeCodeAdds,
|
||||
meta: { exact: true }
|
||||
component: ExchangeCodeAdds
|
||||
},
|
||||
{
|
||||
path: '/home/coupon-list',
|
||||
component: CouponList,
|
||||
meta: { exact: true }
|
||||
component: CouponList
|
||||
},
|
||||
{
|
||||
path: '/home/coupon-add-edit',
|
||||
component: CouponAddEdit,
|
||||
meta: { exact: true }
|
||||
component: CouponAddEdit
|
||||
},
|
||||
{
|
||||
path: '/home/coupon-commodity',
|
||||
component: UseCouponCommodity,
|
||||
meta: { exact: true }
|
||||
component: UseCouponCommodity
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue