fix
This commit is contained in:
@@ -50,6 +50,9 @@ export default defineComponent({
|
||||
],
|
||||
loadingShow:false,
|
||||
activeKey: '',
|
||||
userDetail:computed(()=>{
|
||||
return store.state.UserHabit.userDetail
|
||||
})
|
||||
})
|
||||
let domRefs:any = reactive({
|
||||
myInformation:ref(null),
|
||||
@@ -86,8 +89,13 @@ export default defineComponent({
|
||||
Https.axiosGet(Https.httpUrls.bindWeChat, {params:data})
|
||||
.then((rv) => {
|
||||
accountfrontPage.loadingShow = false
|
||||
console.log(rv);
|
||||
|
||||
let value = {
|
||||
accountExtendList:{
|
||||
WeChat:rv,
|
||||
Google:accountfrontPage.userDetail.accountExtendList?.Google
|
||||
}
|
||||
}
|
||||
store.commit("upUserDetail", value)
|
||||
router.push({ query: {} });
|
||||
})
|
||||
.catch((res) => {accountfrontPage.loadingShow = false});
|
||||
|
||||
@@ -76,6 +76,13 @@ export default defineComponent({
|
||||
Https.axiosGet(Https.httpUrls.bindGoogle, {params:data})
|
||||
.then((rv) => {
|
||||
accountHomeData.loadingShow = false
|
||||
let value = {
|
||||
accountExtendList:{
|
||||
WeChat:accountHomeData.userDetail.accountExtendList?.WeChat,
|
||||
Google:rv,
|
||||
}
|
||||
}
|
||||
store.commit("upUserDetail", value)
|
||||
})
|
||||
.catch((res) => {accountHomeData.loadingShow = false});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user