From afbddf62e45bce6fd9428cddec36382c75cee53a Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期四, 07 十二月 2023 08:38:09 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/CanadaMes

---
 CanadaMes-ui/src/views/user/index.vue |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/CanadaMes-ui/src/views/user/index.vue b/CanadaMes-ui/src/views/user/index.vue
index ba3de75..834c562 100644
--- a/CanadaMes-ui/src/views/user/index.vue
+++ b/CanadaMes-ui/src/views/user/index.vue
@@ -137,7 +137,7 @@
 
 
 <script>
-import { getById, removeById, saveOrUpdate, selectPage, resetPass } from "../../api/user";
+import { getById, removeById, saveOrUpdate, selectPage, resetPass,currentUsername } from "../../api/user";
 import { select } from "../../api/role";
 
 import LanguageMixin from '../../lang/LanguageMixin'
@@ -193,6 +193,8 @@
   },
   created () {
     this.getUserList();
+    this.getyonghu();
+ 
   },
   methods: {
     getUserList () {
@@ -239,6 +241,7 @@
         const successMessage = this.$t('updateSuccessMessage');
         this.$message.success(successMessage);
       });
+
     },
     resetPassword (info) {
   this.$confirm(this.$t('confirmResetPassword'), this.$t('resetPassword'), {
@@ -265,6 +268,14 @@
     this.roleList = res.data;
   });
 },
+
+getyonghu () {
+  currentUsername().then(res => {
+   console.log(res)
+  });
+
+ 
+},
 removeUserById (user) {
   // 寮规璇㈤棶鐢ㄦ埛鏄惁鍒犻櫎鍒嗙被
   this.$confirm(this.$t('confirmDeleteCategory'), this.$t('prompt'), {

--
Gitblit v1.8.0