houyaf 3 jaren geleden
bovenliggende
commit
77d4aae01b

+ 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