Commit 4686628e authored by youjie's avatar youjie

no message

parent 738b7c2d
......@@ -345,6 +345,13 @@
if (this.searchObj.pageIndex === 1) {
this.HotelList = res.data.pageData;
length = this.HotelList.length
if(res.data.pageData.length==0){
uni.showToast({
title: '暂无相关数据',
icon: 'none',
duration: 2000
});
}
} else {
this.HotelList = this.HotelList.concat(res.data.pageData);
length = this.HotelList.length
......
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