Commit a2d215c5 authored by qipeng's avatar qipeng

产品列表判断

parent 92d2ea9b
...@@ -494,9 +494,9 @@ ...@@ -494,9 +494,9 @@
this.lists = [] this.lists = []
} }
if(ret.data.length>0){ if(ret.data.length>0){
this.dataLengthType = false
}else{
this.dataLengthType = true this.dataLengthType = true
}else{
this.dataLengthType = false
} }
ret.data.list.forEach((item)=>{ ret.data.list.forEach((item)=>{
if(this.orderStatus=='0'){////待付款的订单 pid 不能空的不显示 if(this.orderStatus=='0'){////待付款的订单 pid 不能空的不显示
...@@ -631,11 +631,6 @@ ...@@ -631,11 +631,6 @@
}, },
}, },
onReachBottom(){//上拉加载 onReachBottom(){//上拉加载
uni.showToast({
title: '进入上拉加载',
icon: 'none',
duration: 2000
})
this.pageIndex++; this.pageIndex++;
this.getData(2); this.getData(2);
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment