mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-18 00:15:54 +08:00
优化我的足迹
This commit is contained in:
@@ -116,12 +116,12 @@
|
|||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
if (res.statusCode == 200) {
|
if (res.statusCode == 200) {
|
||||||
res.data.result &&
|
res.data.result.records.length &&
|
||||||
res.data.result.forEach((item) => {
|
res.data.result.records.forEach((item) => {
|
||||||
item.show = false;
|
item.show = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
let data = res.data.result;
|
let data = res.data.result.records;
|
||||||
if (data.total == 0) {
|
if (data.total == 0) {
|
||||||
this.whetherEmpty = true;
|
this.whetherEmpty = true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user