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.
32 lines
710 B
32 lines
710 B
'use strict';
|
|
import { QrCode, ScanCode } from './containers';
|
|
|
|
export default [
|
|
{
|
|
type: 'inner',
|
|
route: {
|
|
path: '/qrCode',
|
|
key: 'qrCode',
|
|
breadcrumb: '二维码管理',
|
|
component: QrCode,
|
|
// 不设置 component 则面包屑禁止跳转
|
|
// childRoutes: [
|
|
// {
|
|
// path: '/qrCode',
|
|
// key: 'qrCode',
|
|
// component: QrCode,
|
|
// breadcrumb: '二维码管理',
|
|
// },
|
|
// ]
|
|
}
|
|
},
|
|
{
|
|
type: 'outer',
|
|
route: {
|
|
path: '/scan',
|
|
key: 'scan',
|
|
component: ScanCode,
|
|
breadcrumb: '扫码页面',
|
|
}
|
|
}
|
|
];
|