diff --git a/src/dealer/wechat/index.tsx b/src/dealer/wechat/index.tsx
index 0a95633..4098de3 100644
--- a/src/dealer/wechat/index.tsx
+++ b/src/dealer/wechat/index.tsx
@@ -19,6 +19,7 @@ const WechatService = () => {
className="qr-code-image"
mode="aspectFit"
/>
+ {data.style && 联系电话:{data.style}}
diff --git a/src/user/profile/profile.tsx b/src/user/profile/profile.tsx
index 1353e2d..6148b26 100644
--- a/src/user/profile/profile.tsx
+++ b/src/user/profile/profile.tsx
@@ -18,8 +18,10 @@ import {
import {DictData} from "@/api/system/dict-data/model";
import {pageDictData} from "@/api/system/dict-data";
import {User} from "@/api/system/user/model";
+import {useUser} from "@/hooks/useUser";
function Profile() {
const formId = Number(router?.params.id)
+ const {fetchUserInfo} =useUser()
const [sex, setSex] = useState()
const [FormData, setFormData] = useState(
@@ -52,6 +54,7 @@ function Profile() {
console.log(values, 'values')
console.log(formId, 'formId>>')
updateUserInfo(values).then(() => {
+ fetchUserInfo().then()
Taro.showToast({title: `保存成功`, icon: 'success'})
setTimeout(() => {
return Taro.navigateBack()
@@ -87,6 +90,7 @@ function Profile() {
userId: FormData?.userId,
avatar: `${data.data.thumbnail}`
}).then(() => {
+ fetchUserInfo().then()
Taro.showToast({
title: '上传成功',
})