|
|
@@ -245,10 +245,8 @@ export default {
|
|
|
onShow() {
|
|
|
if (!this.$util.isEmpty(this.loginInfo)) {
|
|
|
this.loginStyle = 1;
|
|
|
- this.getUnReadMsgCount()
|
|
|
} else {
|
|
|
this.loginStyle = 0;
|
|
|
- this.getUnReadMsgCount()
|
|
|
}
|
|
|
if (this.pageAction.refresh == 1) {
|
|
|
this.init();
|
|
|
@@ -327,8 +325,9 @@ export default {
|
|
|
this.pageTo({ url: "/pages/user/address" });
|
|
|
},
|
|
|
init() {
|
|
|
- this.getLoginInfo();
|
|
|
- this.getMyHdList();
|
|
|
+ this.getLoginInfo()
|
|
|
+ this.getMyHdList()
|
|
|
+ this.getUnReadMsgCount()
|
|
|
},
|
|
|
getLoginInfo() {
|
|
|
currentInfo().then((res) => {
|