From 24c4699005da96f45562d7057d80c103b8e428a2 Mon Sep 17 00:00:00 2001
From: WangHan <wwh_work@126,com>
Date: 星期五, 03 一月 2025 10:32:34 +0800
Subject: [PATCH] 子级分类在用删除

---
 admin-web/src/views/systemSetting/user/profile/userInfo.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/admin-web/src/views/systemSetting/user/profile/userInfo.vue b/admin-web/src/views/systemSetting/user/profile/userInfo.vue
index 46f218a..69845fb 100644
--- a/admin-web/src/views/systemSetting/user/profile/userInfo.vue
+++ b/admin-web/src/views/systemSetting/user/profile/userInfo.vue
@@ -45,8 +45,8 @@
     ])
   },
   created(){
-    this.user = JSON.parse(JSON.stringify(this.userInfo))
-    console.log(this.user)
+    // 鑾峰彇鐧诲綍鐢ㄦ埛淇℃伅
+    this.getUserInfo()
   },
   data() {
     return {
@@ -76,6 +76,11 @@
     };
   },
   methods: {
+    getUserInfo() {
+      getCurInfo().then(res => {
+        this.user = res
+      })
+    },
     getHead(){
       return this.baseUrl + this.user.avatar
     },

--
Gitblit v1.9.1