代码优化

This commit is contained in:
GaoHao
2025-01-03 18:43:25 +08:00
parent 4145bb9e5a
commit 1d26fbb535
4 changed files with 10 additions and 7 deletions

View File

@@ -428,6 +428,10 @@
});
// #endif
},
onReady() {
httpsRequest.getT("app/announcement", {}).then(res => {
if (res.code == 0) {
if (res.data && res.data.state == 1) {
@@ -437,7 +441,6 @@
}
}
});
},
onReachBottom() {
if (this.page < this.pages) {