import UserLayout from '@/layouts/UserLayout/index.vue'; // import ProxyView from '@/views/UserCenter/proxy.vue'; export default [ { path: '/setting', component: UserLayout, meta: { hideNav: true, sidebarType: 'userSetting', needLogin: true, reportTitle: '用户设置' }, children: [ { path: '', name: 'setting', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '用户设置', application: 'user-center' } }, { path: 'account', name: 'settingAccount', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '用户设置', application: 'user-center' } }, { path: 'cla', name: 'settingCla', component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '用户已签署CLA', application: 'user-center' } }, { path: 'preference', name: 'settingPreference', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '偏好设置', application: 'user-center' } }, { path: 'notice', name: 'settingNotice', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '用户设置', application: 'user-center' } }, { path: 'organization', name: 'settingOrganization', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '组织管理', application: 'user-center' } }, { path: 'email', name: 'settingEmail', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '电子邮件', application: 'user-center' } }, // { // path: 'password', // name: 'settingPassword', // component: () => import('@/views/UserCenter/proxy.vue'), // meta: { // title: '密码设置' // } // }, { path: 'key-ssh', name: 'settingSSH', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: 'SSH公钥', application: 'user-center' } }, { path: 'key-ssh/create', name: 'settingSSHCreate', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '新建SSH', application: 'user-center' } }, { path: 'key-gpg', name: 'settingGPG', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: 'GPG公钥', application: 'user-center' } }, { path: 'key-gpg/create', name: 'settingGPGCreate', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '新建GPG', application: 'user-center' } }, // { // path: 'key-gpg', // name: 'settingGPG', // component: () => import('@/views/UserSetting/GPG/index.vue'), // meta: { // title: '用户设置' // } // }, // { // path: 'key-gpg/create', // name: 'settingGPGCreate', // component: () => import('@/views/UserSetting/GPG/Create.vue'), // meta: { // title: '用户设置' // } // }, { path: 'session', name: 'settingSession', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '活动会话', application: 'user-center' } }, { path: 'repo', name: 'settingRepo', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '项目管理', application: 'user-center' } }, // { // path: 'reply', // name: 'settingReply', // component: () => import('@/views/UserSetting/Reply/index.vue'), // meta: { // title: '用户设置-快捷回复' // } // }, // { // path: 'reply/create', // name: 'settingRepoCreate', // component: () => import('@/views/UserSetting/Reply/Create/index.vue'), // meta: { // title: '用户设置' // } // }, // { // path: 'logs', // name: 'settingLog', // component: () => import('@/views/UserSetting/Log/index.vue'), // meta: { // title: '用户设置-审计日志' // } // }, { path: 'pipeline', name: 'settingPipeline', component: () => import('@/views/UserSetting/Pipeline/index.vue'), meta: { title: '流水线' } }, { path: 'token-classic', name: 'settingClassic', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '访问令牌(经典)', application: 'user-center' } }, { path: 'token-classic/create', name: 'settingClassicCreate', // component: ProxyView, component: () => import('@/views/UserCenter/proxy.vue'), meta: { title: '新建访问令牌', application: 'user-center' } } ] } ];