控制菜单

master
fanfan 4 months ago
parent 3b84876e11
commit e8aaa03d8b
  1. 4
      src/config/router.config.js

@ -1152,13 +1152,13 @@ export const asyncRouterMap = [
path: '/setting/gmall/index', path: '/setting/gmall/index',
component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/gmall/index'), component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/gmall/index'),
meta: { title: '开通商城', keepAlive: false, permission: ['/setting/gmall/index'] }, meta: { title: '开通商城', keepAlive: false, permission: ['/setting/gmall/index'] },
moduleKey: 'setting-customer', moduleKey: 'setting-openshop',
}, },
{ {
path: '/setting/gmall/order', path: '/setting/gmall/order',
component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/gmall/order'), component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/gmall/order'),
meta: { title: '商城订单', keepAlive: false, permission: ['/setting/gmall/order'] }, meta: { title: '商城订单', keepAlive: false, permission: ['/setting/gmall/order'] },
moduleKey: 'setting-customer', moduleKey: 'setting-openshop',
}, },
// { // {
// path: '/setting/storage', // path: '/setting/storage',

Loading…
Cancel
Save