houyaf 3 年之前
父节点
当前提交
77d4aae01b
共有 4 个文件被更改,包括 9 次插入9 次删除
  1. 9 9
      src/router/routes.ts
  2. 0 0
      src/views/profile/edit.password.vue
  3. 0 0
      src/views/profile/notification.vue
  4. 0 0
      src/views/profile/setting.vue

+ 9 - 9
src/router/routes.ts

@@ -63,31 +63,31 @@ const systemRoutes: RouteRecordRaw[] = [
         },
       },
       {
-        path: 'personal/setting',
+        path: 'profile/setting',
         name: 'personalSetting',
-        component: () => import('@/views/personal/setting.vue'),
+        component: () => import('@/views/profile/setting.vue'),
         meta: {
           title: '个人设置',
-          i18n: 'route.personal.setting',
+          i18n: 'route.profile.setting',
           cache: 'personalEditPassword',
         },
       },
       {
-        path: 'personal/edit/password',
+        path: 'profile/edit/password',
         name: 'personalEditPassword',
-        component: () => import('@/views/personal/edit.password.vue'),
+        component: () => import('@/views/profile/edit.password.vue'),
         meta: {
           title: '修改密码',
-          i18n: 'route.personal.editpassword',
+          i18n: 'route.profile.editpassword',
         },
       },
       {
-        path: 'personal/notification',
+        path: 'profile/notification',
         name: 'personalNotification',
-        component: () => import('@/views/personal/notification.vue'),
+        component: () => import('@/views/profile/notification.vue'),
         meta: {
           title: '通知中心',
-          i18n: 'route.personal.notification',
+          i18n: 'route.profile.notification',
         },
       },
     ],

+ 0 - 0
src/views/personal/edit.password.vue → src/views/profile/edit.password.vue


+ 0 - 0
src/views/personal/notification.vue → src/views/profile/notification.vue


+ 0 - 0
src/views/personal/setting.vue → src/views/profile/setting.vue