refc: 个人中心页面移动在 admin/user 路径下方便维护

This commit is contained in:
lbw 2023-03-03 13:46:57 +08:00
parent a3f614f67e
commit 7640876c0c
7 changed files with 11 additions and 16 deletions

View File

@ -101,7 +101,7 @@ const GlobalWebsocket = defineAsyncComponent(() => import('/@/components/Websock
const UserNews = defineAsyncComponent(() => import('/@/layout/navBars/breadcrumb/userNews.vue'));
const Search = defineAsyncComponent(() => import('/@/layout/navBars/breadcrumb/search.vue'));
const personalDrawer = defineAsyncComponent(() => import("/@/views/personal/index.vue"))
const personalDrawer = defineAsyncComponent(() => import("/@/views/admin/user/personal.vue"))
//
const { locale, t } = useI18n();

View File

@ -101,7 +101,7 @@ export const staticConfigRoutes: Array<RouteRecordRaw> = [
{
path: '/personal',
name: 'personal',
component: () => import('/@/views/personal/index.vue'),
component: () => import('/@/views/admin/user/personal.vue'),
meta: {
"title": "router.personal",
"isHide": true

View File

@ -17,5 +17,9 @@ export default {
inputNameTip: 'input name',
importUserTip: 'user import',
deleteDisabledTip: 'admin are not allowed to delete',
},
personal: {
name: 'personal info',
passwordRule: 'The two passwords are inconsistent'
}
}

View File

@ -18,5 +18,8 @@ export default {
importUserTip: '用户导入',
deleteDisabledTip: 'admin 不允许被删除',
},
personal: {
name: '个人信息',
passwordRule: '两次输入密码不一致'
}
}

View File

@ -262,7 +262,7 @@ defineExpose({
</script>
<style scoped lang="scss">
@import '../../theme/mixins/index.scss';
@import '/@/theme/mixins/index.scss';
.personal {
.personal-user {

View File

@ -1,6 +0,0 @@
export default {
personal: {
name: 'personal info',
passwordRule: 'The two passwords are inconsistent'
}
}

View File

@ -1,6 +0,0 @@
export default {
personal: {
name: '个人信息',
passwordRule: '两次输入密码不一致'
}
}