@@ -82,6 +82,20 @@ export const constantRoutes = [
meta: { title: 'Dashboard', icon: 'dashboard', affix: true }
}
]
+ },
+ {
+ path: '/profile',
+ component: Layout,
+ redirect: '/profile/index',
+ hidden: true,
+ children: [
+ path: 'index',
+ component: () => import('@/views/profile/index'),
+ name: 'Profile',
+ meta: { title: 'Profile', icon: 'user', noCache: true }
+ }
+ ]
@@ -71,7 +71,7 @@
</el-main>
<el-dialog
- :title="dialogStatus==='create'?'New users':'Edit users'"
+ :title="dialogStatus==='create'?$t('common.New'):'Edit'"
:visible.sync="dialogVisible"
width="50%"
@close="dialogClose"