From c85948928741413f7a73500c0175c41e7dd05574 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 05 Jun 2025 11:19:13 +0800
Subject: [PATCH] feat:个人中心
---
src/views/system/userinfo.vue | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/src/views/system/userinfo.vue b/src/views/system/userinfo.vue
index 7e75935..a9c5d8a 100644
--- a/src/views/system/userinfo.vue
+++ b/src/views/system/userinfo.vue
@@ -50,8 +50,6 @@
handleSubmit(form, done) {
if (this.index === 0) {
form.name = form.realName;
- console.log('form, done', form, done);
-
updateInfo(form).then(
res => {
if (res.data.success) {
@@ -99,7 +97,6 @@
if (this.index === 0) {
getUserInfo().then(res => {
const user = res.data.data;
-
this.form = {
id: user.id,
avatar: user.avatar ? user.avatar :defaultAva,
@@ -107,8 +104,7 @@
realName: user.realName,
phone: user.phone,
email: user.email,
- };
- // console.log('用户信息',user);
+ };
});
}
--
Gitblit v1.9.3