|
|
@@ -2,7 +2,7 @@ import { setupLayouts } from 'virtual:generated-layouts'
|
|
|
import generatedRoutes from 'virtual:generated-pages'
|
|
|
import type { RouteRecordRaw } from 'vue-router'
|
|
|
import SystemEntries from './modules/system'
|
|
|
-import DaaSEntries from './modules/database'
|
|
|
+import DatabaseEntries from './modules/database'
|
|
|
import ApiEntries from './modules/api'
|
|
|
import ModelEntries from './modules/model'
|
|
|
import BizEntries from './modules/biz'
|
|
|
@@ -64,17 +64,17 @@ const systemRoutes: RouteRecordRaw[] = [
|
|
|
},
|
|
|
{
|
|
|
path: 'profile/setting',
|
|
|
- name: 'personalSetting',
|
|
|
+ name: 'profileSetting',
|
|
|
component: () => import('@/views/profile/setting.vue'),
|
|
|
meta: {
|
|
|
title: '个人设置',
|
|
|
i18n: 'route.profile.setting',
|
|
|
- cache: 'personalEditPassword',
|
|
|
+ cache: 'profileEditPassword',
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
path: 'profile/edit/password',
|
|
|
- name: 'personalEditPassword',
|
|
|
+ name: 'profileEditPassword',
|
|
|
component: () => import('@/views/profile/edit.password.vue'),
|
|
|
meta: {
|
|
|
title: '修改密码',
|
|
|
@@ -83,7 +83,7 @@ const systemRoutes: RouteRecordRaw[] = [
|
|
|
},
|
|
|
{
|
|
|
path: 'profile/notification',
|
|
|
- name: 'personalNotification',
|
|
|
+ name: 'profileNotification',
|
|
|
component: () => import('@/views/profile/notification.vue'),
|
|
|
meta: {
|
|
|
title: '通知中心',
|
|
|
@@ -111,7 +111,7 @@ const asyncRoutes: Route.recordMainRaw[] = [
|
|
|
icon: 'ep:coin',
|
|
|
},
|
|
|
children: [
|
|
|
- ...DaaSEntries,
|
|
|
+ ...DatabaseEntries,
|
|
|
],
|
|
|
},
|
|
|
{
|