优化消息

This commit is contained in:
TOP糯米 2023-03-19 14:41:42 +08:00
parent 6ef7608dbe
commit d6f87a265e
1 changed files with 4 additions and 2 deletions

View File

@ -67,8 +67,10 @@ export default {
}, },
onLoad() {}, onLoad() {},
async onShow() { async onShow() {
await this.loadCate(); if (this.messageTabIndex != this.tabIndex) {
this.switchTab(this.messageTabIndex); await this.loadCate();
this.switchTab(this.messageTabIndex);
}
}, },
onReady() {}, onReady() {},
onReachBottom() { onReachBottom() {