refactor: 删除独立的授权管理页面和导航,授权功能合并到代理详情页
This commit is contained in:
@@ -167,18 +167,6 @@ const routes: RouteRecordRaw[] = [
|
||||
component: () => import('@/pages/admin/sessions/index.vue'),
|
||||
meta: { title: '在线实例 - 管理后台' },
|
||||
},
|
||||
{
|
||||
path: 'agent-apps',
|
||||
name: 'AdminAgentApps',
|
||||
component: () => import('@/pages/admin/agent-apps/index.vue'),
|
||||
meta: { title: '授权管理 - 管理后台' },
|
||||
},
|
||||
{
|
||||
path: 'agent-apps/create',
|
||||
name: 'AdminAgentAppsCreate',
|
||||
component: () => import('@/pages/admin/agent-apps/create.vue'),
|
||||
meta: { title: '新建授权 - 管理后台' },
|
||||
},
|
||||
{
|
||||
path: 'agents',
|
||||
name: 'AdminAgents',
|
||||
@@ -197,24 +185,6 @@ const routes: RouteRecordRaw[] = [
|
||||
component: () => import('@/pages/admin/agents/[id].vue'),
|
||||
meta: { title: '编辑代理 - 管理后台' },
|
||||
},
|
||||
{
|
||||
path: 'agent-apps/:id/edit',
|
||||
name: 'AdminAgentAppEdit',
|
||||
component: () => import('@/pages/admin/agent-apps/[id]/edit.vue'),
|
||||
meta: { title: '编辑授权 - 管理后台' },
|
||||
},
|
||||
{
|
||||
path: 'agent-apps/:id/view',
|
||||
name: 'AdminAgentAppView',
|
||||
component: () => import('@/pages/admin/agent-apps/[id]/view.vue'),
|
||||
meta: { title: '查看授权 - 管理后台' },
|
||||
},
|
||||
{
|
||||
path: 'agent-apps/:id/recharge',
|
||||
name: 'AdminAgentAppRecharge',
|
||||
component: () => import('@/pages/admin/agent-apps/[id]/recharge.vue'),
|
||||
meta: { title: '充值余额 - 管理后台' },
|
||||
},
|
||||
{
|
||||
path: 'finance',
|
||||
name: 'AdminFinance',
|
||||
|
||||
Reference in New Issue
Block a user