优化我的足迹

master
lemon橪 2022-05-19 09:31:32 +08:00
parent ebf0d585fc
commit 68cdcd8587
1 changed files with 3 additions and 3 deletions

View File

@ -116,12 +116,12 @@
uni.stopPullDownRefresh();
uni.hideLoading();
if (res.statusCode == 200) {
res.data.result &&
res.data.result.forEach((item) => {
res.data.result.records.length &&
res.data.result.records.forEach((item) => {
item.show = false;
});
let data = res.data.result;
let data = res.data.result.records;
if (data.total == 0) {
this.whetherEmpty = true;
} else {