From 2d5090c2b215a5ea7e489d4b50fbf30aae569324 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 26 七月 2024 15:03:01 +0800
Subject: [PATCH] fix bug 接口对接和样式调整
---
pages/user/user-info/user-info.vue | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/pages/user/user-info/user-info.vue b/pages/user/user-info/user-info.vue
index fc82505..59f6e29 100644
--- a/pages/user/user-info/user-info.vue
+++ b/pages/user/user-info/user-info.vue
@@ -60,7 +60,7 @@
</template>
<script>
- const appId = 'wxafc5aaa0fc79532b'; //需要替换成实际的
+ const appId = 'wx1441324401626290'; //需要替换成实际的
import WXBizDataCrypt from '@/plugins/WXBizDataCrypt.js';
import {
mapState
@@ -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