@@ -102,8 +102,8 @@ export default {
if (this.cutoff(s.msg)) return;
})
};
- if (this.$Http.updateList) return this.$Http.updateList(res.data);
uni.navigateBack()
+ if (this.$Http.updateList) return this.$Http.updateList(res.data);
console.log("页面", data)
@@ -99,6 +99,7 @@ export default {
this.getUserInfo().then(() => {
callBack()
+ callBack()
this.updatePage = false;
},
async getUserInfo() {
@@ -82,6 +82,11 @@ export default {
this.$refs.pages.onClick(itemId, page, false, params)
}.bind(this)
// #ifdef MP-WEIXIN
+ if (this.page == '工作台') {
+ this.$refs.工作台.getUserInfo()
+ } else if (this.page == '我的') {
+ this.$refs.我的.getUserInfo()
+ }
this.updatePageData(this.swiperItemID, this.page)
// #endif
}