From 1f42bd3d22c104aaa2d780c20a555b5e467858bf Mon Sep 17 00:00:00 2001 From: MichelleChung <1242874891@qq.com> Date: 星期一, 07 十一月 2022 22:10:52 +0800 Subject: [PATCH] !245 数据源由 Druid 修改为 Hikari * update 更新 dataSource 数据源, 由 druid 修改为 hikari, 更新相关配置 ; --- ruoyi-ui/src/views/system/user/profile/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/profile/index.vue b/ruoyi-ui/src/views/system/user/profile/index.vue index 69d07a0..2cc7c2f 100644 --- a/ruoyi-ui/src/views/system/user/profile/index.vue +++ b/ruoyi-ui/src/views/system/user/profile/index.vue @@ -33,7 +33,7 @@ </li> <li class="list-group-item"> <svg-icon icon-class="date" />鍒涘缓鏃ユ湡 - <div class="pull-right">2018-08-23 09:11:56</div> + <div class="pull-right">{{ user.createTime }}</div> </li> </ul> </div> @@ -49,7 +49,7 @@ <userInfo :user="user" /> </el-tab-pane> <el-tab-pane label="淇敼瀵嗙爜" name="resetPwd"> - <resetPwd :user="user" /> + <resetPwd /> </el-tab-pane> </el-tabs> </el-card> @@ -81,9 +81,9 @@ methods: { getUser() { getUserProfile().then(response => { - this.user = response.data; - this.roleGroup = response.roleGroup; - this.postGroup = response.postGroup; + this.user = response.data.user; + this.roleGroup = response.data.roleGroup; + this.postGroup = response.data.postGroup; }); } } -- Gitblit v1.9.3