You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
642 B
29 lines
642 B
// router/modules/home.js
|
|
const home = [
|
|
{
|
|
//注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
|
|
path: '/pages/index/index',
|
|
aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
|
|
name: 'index',
|
|
meta: {
|
|
title: 'WMS仓库管理系统',
|
|
},
|
|
},
|
|
// {
|
|
// path: '/pages/list/index',
|
|
// aliasPath:'/'
|
|
// name: 'list',
|
|
// meta: {
|
|
// title: '列表',
|
|
// },
|
|
// },
|
|
{
|
|
path: '/pages/login/index',
|
|
aliasPath:'/'
|
|
name: 'login',
|
|
meta: {
|
|
title: '登录',
|
|
},
|
|
},
|
|
]
|
|
export default home
|