添加 请求 修改登录页
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<component :is='config.layout.layoutMode'></component>
|
||||
<component :is="config.layout.layoutMode"></component>
|
||||
</template>
|
||||
|
||||
<script setup lang='ts'>
|
||||
<script setup lang="ts">
|
||||
import { reactive } from 'vue'
|
||||
import { useConfig } from '@/stores/config'
|
||||
import { useNavTabs } from '@/stores/navTabs'
|
||||
@@ -81,50 +81,63 @@ const init = () => {
|
||||
]
|
||||
},
|
||||
{
|
||||
'id': 2,
|
||||
'pid': 0,
|
||||
'type': 'menu_dir',
|
||||
'title': '权限管理',
|
||||
'name': 'auth',
|
||||
'path': 'auth',
|
||||
'icon': 'fa fa-group',
|
||||
'menu_type': null,
|
||||
'url': '',
|
||||
'component': '',
|
||||
'keepalive': 0,
|
||||
'extend': 'none',
|
||||
'children': [
|
||||
id: 3,
|
||||
pid: 0,
|
||||
type: 'menu',
|
||||
title: '测试1',
|
||||
name: 'test',
|
||||
path: 'test',
|
||||
icon: 'fa fa-dashboard',
|
||||
menu_type: 'tab',
|
||||
url: '',
|
||||
component: '/src/views/dashboard/test.vue',
|
||||
keepalive: 'test',
|
||||
extend: 'none'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
pid: 0,
|
||||
type: 'menu_dir',
|
||||
title: '权限管理',
|
||||
name: 'auth',
|
||||
path: 'auth',
|
||||
icon: 'fa fa-group',
|
||||
menu_type: null,
|
||||
url: '',
|
||||
component: '',
|
||||
keepalive: 0,
|
||||
extend: 'none',
|
||||
children: [
|
||||
{
|
||||
'id': 3,
|
||||
'pid': 2,
|
||||
'type': 'menu',
|
||||
'title': '角色管理',
|
||||
'name': 'auth/role',
|
||||
'path': 'auth/role',
|
||||
'icon': 'fa fa-group',
|
||||
'menu_type': 'tab',
|
||||
'url': '',
|
||||
'component': '/src/views/auth/role.vue',
|
||||
'keepalive': 'auth/role',
|
||||
'extend': 'none',
|
||||
'children': []
|
||||
id: 3,
|
||||
pid: 2,
|
||||
type: 'menu',
|
||||
title: '角色管理',
|
||||
name: 'auth/role',
|
||||
path: 'auth/role',
|
||||
icon: 'fa fa-group',
|
||||
menu_type: 'tab',
|
||||
url: '',
|
||||
component: '/src/views/auth/role.vue',
|
||||
keepalive: 'auth/role',
|
||||
extend: 'none',
|
||||
children: []
|
||||
},
|
||||
{
|
||||
'id': 13,
|
||||
'pid': 2,
|
||||
'type': 'menu',
|
||||
'title': '菜单规则管理',
|
||||
'name': 'auth/menu',
|
||||
'path': 'auth/menu',
|
||||
'icon': 'el-icon-Grid',
|
||||
'menu_type': 'tab',
|
||||
'url': '',
|
||||
'component': '/src/views/auth/menu/index.vue',
|
||||
'keepalive': 'auth/menu',
|
||||
'extend': 'none',
|
||||
'children': []
|
||||
id: 13,
|
||||
pid: 2,
|
||||
type: 'menu',
|
||||
title: '菜单规则管理',
|
||||
name: 'auth/menu',
|
||||
path: 'auth/menu',
|
||||
icon: 'el-icon-Grid',
|
||||
menu_type: 'tab',
|
||||
url: '',
|
||||
component: '/src/views/auth/menu/index.vue',
|
||||
keepalive: 'auth/menu',
|
||||
extend: 'none',
|
||||
children: []
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user