mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-23 05:40:20 +08:00
refc: 个人中心页面移动在 admin/user 路径下方便维护
This commit is contained in:
parent
a3f614f67e
commit
7640876c0c
@ -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();
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
@ -18,5 +18,8 @@ export default {
|
||||
importUserTip: '用户导入',
|
||||
deleteDisabledTip: 'admin 不允许被删除',
|
||||
},
|
||||
|
||||
personal: {
|
||||
name: '个人信息',
|
||||
passwordRule: '两次输入密码不一致'
|
||||
}
|
||||
}
|
||||
|
@ -262,7 +262,7 @@ defineExpose({
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import '../../theme/mixins/index.scss';
|
||||
@import '/@/theme/mixins/index.scss';
|
||||
|
||||
.personal {
|
||||
.personal-user {
|
@ -1,6 +0,0 @@
|
||||
export default {
|
||||
personal: {
|
||||
name: 'personal info',
|
||||
passwordRule: 'The two passwords are inconsistent'
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
export default {
|
||||
personal: {
|
||||
name: '个人信息',
|
||||
passwordRule: '两次输入密码不一致'
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user