vue-router 配置 连带面包屑
作者:chrispy
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({
routes: [
{ // 问题整改
path: '/QusIndex',
name: 'QusIndex',
component: function (resolve) {
require(['@/components/problem/QusIndex'], resolve)
},
meta: {
page: '问题整改',
pageTitle: '问题列表',
path: '/QusIndex'
}
},
{ // 验房批次管理
path: '/InspectionBatch',
name: 'InspectionBatch',
component: function (resolve) {
require(['@/components/analogueChecking/InspectionBatch'], resolve)
},
meta: {
page: '模拟验房',
pageTitle: '验房批次管理',
path: '/InspectionBatch'
}
}
],
mode: 'history'
})