二手车交易,静态列表页面
This commit is contained in:
@ -3,6 +3,7 @@ import VueRouter from "vue-router";
|
||||
Vue.use(VueRouter);
|
||||
import kpiRouter from './kpi-router'
|
||||
import invoiceRouter from "@/router/invoice-router";
|
||||
import secondHandRouter from "@/router/second-hand-router";
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
@ -267,6 +268,7 @@ const routes = [
|
||||
},
|
||||
...kpiRouter,
|
||||
...invoiceRouter,
|
||||
...secondHandRouter,
|
||||
]
|
||||
|
||||
const router = new VueRouter({
|
||||
|
||||
11
src/router/second-hand-router.js
Normal file
11
src/router/second-hand-router.js
Normal file
@ -0,0 +1,11 @@
|
||||
const kpiRouter = [
|
||||
{
|
||||
path: '/indexList',
|
||||
name: 'indexList',
|
||||
component: () => import('@/views/secondHandCar/indexList.vue'),
|
||||
meta:{
|
||||
title: '首页列表',
|
||||
}
|
||||
},
|
||||
]
|
||||
export default kpiRouter
|
||||
Reference in New Issue
Block a user