From 36f5a552738ff64d35e5508a1db8c2249b9187b0 Mon Sep 17 00:00:00 2001
From: xuxy <1059738716@qq.com>
Date: 星期四, 27 六月 2024 14:25:33 +0800
Subject: [PATCH] update1

---
 pages/user/user-info/user-info.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/pages/user/user-info/user-info.vue b/pages/user/user-info/user-info.vue
index fc82505..7f90ded 100644
--- a/pages/user/user-info/user-info.vue
+++ b/pages/user/user-info/user-info.vue
@@ -101,7 +101,7 @@
 					this.dto.picture = picture
 				}
 				
-				// #ifdef MP
+
 				const {
 					code
 				} = await this.$http.request('post', "/api/current/user/update", {
@@ -111,7 +111,7 @@
 						// fullName: this.dto.nickName
 					}
 				})
-				// #endif
+		
 				// // #ifndef MP
 				// if (!!this.dto.email) {
 				// 	if (!this.$util.isEmail(this.dto.email)) {
@@ -131,14 +131,13 @@
 				// // #endif
 				this.$message.hideLoading()
 
-				// #ifdef MP
 				if (code == 0) {
 					this.$message.showToast('更新成功')
 					// this.$store.commit('updateInfo',this.dto)
 					// }
 					await this.$store.dispatch('getCurrentInfo');
 				}
-				// #endif
+
 
 
 			},

--
Gitblit v1.9.3