路由文件,path改小写

master
wyj2080 6 years ago
parent 9d5faa82b8
commit 8c2b3171a8

@ -0,0 +1,41 @@
<template>
<div>
<!-- <Row :gutter="32">-->
<!-- <Col span="32">-->
<!-- <row>-->
<!-- </row>-->
<!-- </Col>-->
<!-- </Row>-->
</div>
</template>
<script>
export default {
data() {
return {
}
},
mounted: function () {
},
methods: {
// /**mainList*/
// getMainList: function(){
//
// },
// //
// handlePage:function (value) {
//
// },
}
}
</script>
<style scoped>
</style>

@ -33,7 +33,7 @@
<Icon type="ios-paper" />
数据中心
</template>
<MenuItem name="3-1">数据中心</MenuItem>
<MenuItem name="客户数据">客户数据</MenuItem>
</Submenu>
</Menu>
@ -80,7 +80,10 @@ export default {
},
methods: {
onSelectLister (val) {
console.log(val);
switch (val) {
case "客户数据":break;
default:break;
}
},
collapsedSider () {
this.$refs.side1.toggleCollapse();

@ -6,6 +6,7 @@ import Home from '@/pages/Home'
import AccountManager from '@/pages/user/AccountManager'
import RoleManager from '@/pages/user/RoleManager'
import ShopIncrease from '@/pages/shop/ShopIncrease'
import CustomerData from "@/pages/CustomerData";
Vue.use(Router);
const router = new Router({
@ -22,7 +23,7 @@ const router = new Router({
component: Login
},
{
path: '/externalContact',
path: '/external/contact',
name: 'externalContact',
component: ExternalContact
},
@ -32,21 +33,26 @@ const router = new Router({
component: Home,
children: [
{
path: '/AccountManager',
path: '/account/manager',
name: 'AccountManager',
component: AccountManager
},
{
path: '/RoleManager',
path: '/role/manager',
name: 'RoleManager',
component: RoleManager
},
{
path: '/ShopIncrease',
path: '/shop/increase',
name: 'ShopIncrease',
component: ShopIncrease
}
]
},
{
path: '/customer/data',
name: 'CustomerData',
component: CustomerData,
}
]
});

Loading…
Cancel
Save