purview.js 1.37 KB
let purviews = {
    product: {
        name: '商品管理',
        menu: true,
        subPurviews: {
            create: {
                name: '发布新商品',
                path: '/product/create/step1',
                menu: true,
                own: true,
                subPurviews: {
                    step1: {
                        name: '类目选择',
                        own: true,
                    },
                    step2: {
                        name: '基础信息',
                        own: true,
                    },
                    step3: {
                        name: '网销信息',
                        own: true,
                    },
                }
            },
            onsale: {
                name: '在售商品',
                path: '/product/onsale',
                menu: true,
                own: true
            },
            offsale: {
                name: '未上架商品',
                path: '/product/offsale',
                menu: true,
                own: true
            },
            vips: {
                name: 'VIP价格商品',
                menu: true,
                path: '/product/vips'
            }
        }
    },
    home: {
        name: '',
        subPurviews: {
            overview: {
                name: '默认页'
            }
        }
    }
};

export default purviews;