chore: remove console && update components

This commit is contained in:
JaguarJack
2023-03-04 18:23:07 +08:00
parent 67545252fe
commit 8fe6d5c827
7 changed files with 22 additions and 23 deletions

View File

@@ -5,18 +5,18 @@ const router: RouteRecordRaw[] = [
{
path: '/develop',
component: () => import('/admin/layout/index.vue'),
meta: { title: '开发工具', icon: 'wrench-screwdriver', hidden: false },
meta: { title: '开发工具', icon: 'wrench-screwdriver' },
children: [
{
path: 'modules',
name: 'modules',
meta: { title: '模块管理', icon: 'home', hidden: false },
meta: { title: '模块管理', icon: 'queue-list' },
component: () => import('./module/index.vue'),
},
{
path: 'schemas',
name: 'schemas',
meta: { title: 'Schemas', icon: 'home', hidden: false },
meta: { title: 'Schemas', icon: 'list-bullet' },
component: () => import('./schema/index.vue'),
},
{

View File

@@ -18,7 +18,6 @@ const next = () => {
active.value = 2
}
}
console.log(123)
const prev = () => {
if (active.value-- === 1) {
active.value = 1

View File

@@ -9,13 +9,13 @@ const router: RouteRecordRaw[] = [
children: [
{
path: 'index',
name: 'users',
name: 'user-account',
meta: { title: '账号管理', icon: 'home' },
component: () => import('./user/index.vue'),
},
{
path: 'center',
name: 'center',
name: 'user-center',
meta: { title: '个人中心', icon: 'home' },
component: () => import('./user/center.vue'),
},