Commit 725aaf16 by cwq0219

appMarket

1 parent 81ffb36a
// 创建 el-menu-item // 创建 el-menu-item
export function elMenuItem(createElement, menu) { export function elMenuItem(createElement, menu) {
return createElement('el-menu-item', { props: { index: menu.path } }, [ return menu.sideHidden ? '' : createElement('el-menu-item', { props: { index: menu.path } }, [
...menu.icon ? [ ...menu.icon ? [
createElement('i', { attrs: { class: `el-icon-${menu.icon}` } }) createElement('i', { attrs: { class: `el-icon-${menu.icon}` } })
] : [], ] : [],
......
...@@ -129,7 +129,7 @@ export const resources = { ...@@ -129,7 +129,7 @@ export const resources = {
handle: 'handleImport' handle: 'handleImport'
}], }],
component: _import('device/device') component: _import('device/device')
} },
// '104': { // '104': {
// path: '/user', // path: '/user',
// icon: 'user-solid', // icon: 'user-solid',
...@@ -188,40 +188,41 @@ export const resources = { ...@@ -188,40 +188,41 @@ export const resources = {
// }, // },
// component: _import('apiManage/apiRecord') // component: _import('apiManage/apiRecord')
// } // }
// '106': { '106': {
// path: '/appMarket', path: '/appMarket',
// icon: 'document-copy', icon: 'document-copy',
// name: 'appMarket', name: 'appMarket',
// meta: { meta: {
// title: 'APP营销管理', title: 'APP营销管理',
// authId: '106', authId: '106',
// parentId: '0', parentId: '0',
// cache: true cache: true,
// }, sideHidden: true
// auth: [{ },
// authId: '10601', auth: [{
// parentId: '106', authId: '10601',
// label: '新增', parentId: '106',
// category: 'Button', label: '新增',
// type: 'primary', category: 'Button',
// handle: 'handleAdd' type: 'primary',
// }, { handle: 'handleAdd'
// authId: '10602', }, {
// parentId: '106', authId: '10602',
// label: '编辑', parentId: '106',
// handle: 'handleEdit' label: '编辑',
// }, { handle: 'handleEdit'
// authId: '10603', }, {
// parentId: '106', authId: '10603',
// label: '下架', parentId: '106',
// handle: 'handleUpOrDown', label: '下架',
// ruleObj: { handle: 'handleUpOrDown',
// attr: 'status', ruleObj: {
// rule: { 0: '上架', 1: '下架' } attr: 'status',
// } rule: { 0: '上架', 1: '下架' }
// }], }
// component: _import('appMarket/appMarket') }],
// } component: _import('appMarket/appMarket')
}
} }
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!